From b6526785478ea8ba70ddd119f1e3e53a892d4a22 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 5 Apr 2025 16:36:18 +0530 Subject: Update clang formatting --- src/widgets/WebViewStack.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/widgets/WebViewStack.hpp') diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp index 67d443f..5d09aaf 100644 --- a/src/widgets/WebViewStack.hpp +++ b/src/widgets/WebViewStack.hpp @@ -14,7 +14,7 @@ enum OpenType : uint8_t { OpenUrl, OpenUrlInTab, OpenUrlInBgTab, - OpenUrlInWindow + OpenUrlInWindow, }; struct WebViewData { @@ -28,8 +28,7 @@ class WebViewStack : public QWidget { public: WebViewStack(const Configuration *configuration, - QWebEngineProfile *profile = new QWebEngineProfile, - QWidget *parent = nullptr); + QWebEngineProfile *profile = new QWebEngineProfile, QWidget *parent = nullptr); QList get_webview_list(); WebView *current_webview(); @@ -56,8 +55,7 @@ protected: WebView *get_webview(WebViewId webview_id); public slots: - void open_url(const QUrl &url, OpenType open_type = OpenType::OpenUrl, - WebViewId webview_id = 0); + void open_url(const QUrl &url, OpenType open_type = OpenType::OpenUrl, WebViewId webview_id = 0); void webview_history_back(WebViewId webview_id, qsizetype history_index); void webview_history_forward(WebViewId webview_id, qsizetype history_index); void close(WebViewId webview_id); -- cgit v1.3.1