diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-26 22:23:25 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-28 19:43:45 +0300 |
commit | 9c4dd932c6d692178bb8d5265c634126cb415767 (patch) | |
tree | 527300f8e710859965c142aed4e779a16b9d4ab6 /src/mainwindow/mainwindow.h | |
parent | Update ProfileEditor plugin (diff) | |
download | smolbote-9c4dd932c6d692178bb8d5265c634126cb415767.tar.xz |
Turn on more warnings by default
- fix clazy warnings
- fix various other compiler warnings
- bugfix: connect profiles' downloadRequested signal
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r-- | src/mainwindow/mainwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow/mainwindow.h b/src/mainwindow/mainwindow.h index 31f5658..c5d573e 100644 --- a/src/mainwindow/mainwindow.h +++ b/src/mainwindow/mainwindow.h @@ -34,7 +34,7 @@ public: ToolsMenu }; - explicit MainWindow(const Session::MainWindow &data, QMenu *appMenu, QWidget *parent = nullptr); + explicit MainWindow(const Session::MainWindow &mainwindow_data, QMenu *appMenu, QWidget *parent = nullptr); MainWindow(const MainWindow &) = delete; ~MainWindow() = default; @@ -66,8 +66,8 @@ public: public slots: void createTab(const QUrl &url); - void createTab(const Session::WebView &data); - SubWindow *createSubWindow(const Session::SubWindow &data); + void createTab(const Session::WebView &tab_data); + SubWindow *createSubWindow(const Session::SubWindow &subwindow_data); void setCurrentSubWindow(SubWindow *subwindow); private slots: |