aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-13 17:49:52 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-13 17:49:52 +0100
commit4823393a8348674999657670076cf73a612cfb4a (patch)
tree973fa57a66ed42e3419453888edff8e054b62a5f /src/mainwindow.h
parentAdded all QtWebEngineProfile options to ProfileDialog (diff)
downloadsmolbote-4823393a8348674999657670076cf73a612cfb4a.tar.xz
Swapping profiles now works
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 35d7a1d..2eedebf 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -29,6 +29,9 @@ protected:
void closeEvent(QCloseEvent *event) override;
private slots:
+ void loadProfile(const QString &name);
+ void handleLoadProfile();
+
void handleNewWindow(const QUrl &url = QUrl(""));
void handleTabChanged(QWebEngineView *view);
void handleUrlChanged();
@@ -40,7 +43,7 @@ private slots:
private:
Browser *browserInstance;
QString profileName;
- WebEngineProfile *profile;
+ WebEngineProfile *profile = nullptr;
// ui
Ui::MainWindow *ui;