diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-02 09:43:09 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-02 09:43:09 +0200 |
commit | 2b246cb8a2beb9685f8bfd66663f239fba2acfd5 (patch) | |
tree | 241eda2e333344e15978958043a2137997ebe6b9 /src/profilemanager.cpp | |
parent | Replace SingleApplication with itay-grudev/SingleApplication (diff) | |
download | smolbote-2b246cb8a2beb9685f8bfd66663f239fba2acfd5.tar.xz |
Add nullptr profile check to createSession
Diffstat (limited to 'src/profilemanager.cpp')
-rw-r--r-- | src/profilemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profilemanager.cpp b/src/profilemanager.cpp index bb967b9..1038598 100644 --- a/src/profilemanager.cpp +++ b/src/profilemanager.cpp @@ -80,7 +80,7 @@ WebProfile *ProfileManager::profile(const QString &id) if(profiles.contains(id)) return profiles.value(id); else - return WebProfile::defaultProfile(); + return nullptr; } const QMap<QString, WebProfile *> &ProfileManager::profileList() |