aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
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;