diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-13 17:49:52 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-13 17:49:52 +0100 |
commit | 4823393a8348674999657670076cf73a612cfb4a (patch) | |
tree | 973fa57a66ed42e3419453888edff8e054b62a5f /src/mainwindow.h | |
parent | Added all QtWebEngineProfile options to ProfileDialog (diff) | |
download | smolbote-4823393a8348674999657670076cf73a612cfb4a.tar.xz |
Swapping profiles now works
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 5 |
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;
|