diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index a130087..0ad24b0 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -7,7 +7,6 @@ #include <QWebEngineView>
#include <QUrl>
#include "widgets/webviewtabbar.h"
-#include <QSettings>
namespace Ui {
class MainWindow;
@@ -18,7 +17,7 @@ class MainWindow : public QMainWindow Q_OBJECT
public:
- explicit MainWindow(QSettings *settings, QUrl defaultUrl = QUrl(""), QWidget *parent = 0);
+ explicit MainWindow(QUrl defaultUrl = QUrl(""), QWidget *parent = 0);
~MainWindow();
public slots:
@@ -28,6 +27,7 @@ private slots: void handleTabChanged(QWebEngineView *view);
void handleUrlChanged();
void handleUrlUpdated(const QUrl &url);
+ void handleTitleUpdated(const QString &title);
private:
Ui::MainWindow *ui;
|