From 0d728071e3287a71ce7928640e63c19f4d0ab00f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 22 Mar 2025 17:17:15 +0530 Subject: Build fixes + formatting --- src/widgets/WebViewStack.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/WebViewStack.hpp') 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 #include -#include +#include #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; -- cgit v1.3.1