diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-08-02 11:56:29 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-08-03 11:01:28 +0000 |
commit | 14a8ac1534bc4314cf6c89aceaaa382f42314dac (patch) | |
tree | a9eb363b39a3c9bcaa160aa89cc354deb543f610 /src/core/profile_adapter.h | |
parent | 9a2448a292f6c1d3f134c39be2a01acea3cef982 (diff) |
Fix running webengine without default profile
If default profile is not needed do not create
by accident one in ~QWebEngineProfilePrivate.
Task-number: QTBUG-66068
Change-Id: Ib4131268686178560f3a89dce41e59eb57613e17
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/profile_adapter.h')
-rw-r--r-- | src/core/profile_adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h index 1e2a700d6..65843eda3 100644 --- a/src/core/profile_adapter.h +++ b/src/core/profile_adapter.h @@ -80,6 +80,7 @@ public: explicit ProfileAdapter(const QString &storagePrefix = QString()); virtual ~ProfileAdapter(); + static ProfileAdapter* createDefaultProfileAdapter(); static ProfileAdapter* defaultProfileAdapter(); static QObject* globalQObjectRoot(); |