aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/webviewtabbar.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-18 22:25:40 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-18 22:25:40 +0100
commit5fc206e11ea83a31e64a0359dc6d78f76d200499 (patch)
treea997cb1602599766fdaa908453ae2705e0a0691f /src/widgets/webviewtabbar.h
parentBasic adblock FilterRule (diff)
downloadsmolbote-5fc206e11ea83a31e64a0359dc6d78f76d200499.tar.xz
Some bugfixes
Diffstat (limited to 'src/widgets/webviewtabbar.h')
-rw-r--r--src/widgets/webviewtabbar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h
index d73608c..64bb6a2 100644
--- a/src/widgets/webviewtabbar.h
+++ b/src/widgets/webviewtabbar.h
@@ -24,13 +24,15 @@
#include <QTabBar>
#include "webengine/webview.h"
#include "webengine/webengineprofile.h"
+#include <memory>
+class Configuration;
class WebViewTabBar : public QTabBar
{
Q_OBJECT
public:
- explicit WebViewTabBar(WebEngineProfile *profile = nullptr, QWidget *parent = 0);
+ explicit WebViewTabBar(const std::shared_ptr<Configuration> &config, WebEngineProfile *profile = nullptr, QWidget *parent = 0);
~WebViewTabBar();
void setProfile(WebEngineProfile *profile);