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