diff options
Diffstat (limited to '')
| -rw-r--r-- | src/widgets/WebViewStack.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp index e5b7ecc..473f699 100644 --- a/src/widgets/WebViewStack.hpp +++ b/src/widgets/WebViewStack.hpp @@ -2,7 +2,7 @@ #include <QStackedLayout> #include <QWebEngineProfile> -#include <sys/types.h> +#include <vector> #include "Configuration.hpp" #include "widgets/WebView.hpp" @@ -33,11 +33,11 @@ public: u_int32_t count(); QUrl currentUrl(); - void focusWebView(long index); + void focusWebView(int32_t index); void next(); void previous(); - void close(long index); + void close(int32_t index); void closeCurrent(); private: @@ -45,7 +45,7 @@ private: WebView *createNewWebView(QUrl url, bool focus = false); private slots: - void onNewWebViewRequest(QWebEngineNewWindowRequest &request); + void onNewWebViewRequest(const QWebEngineNewWindowRequest &request); private: const Configuration *configuration; |
