aboutsummaryrefslogtreecommitdiff
path: root/src/profilemanager.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-07-02 09:24:39 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-07-02 09:24:39 +0200
commit9fbab94798455c79bfadee9041a78bd47ff642e4 (patch)
tree48aeaec9ad406caab07f7f4449cf01eebb17ea9c /src/profilemanager.cpp
parentAdd WIN32 to windows executable (diff)
downloadsmolbote-9fbab94798455c79bfadee9041a78bd47ff642e4.tar.xz
Replace SingleApplication with itay-grudev/SingleApplication
Diffstat (limited to 'src/profilemanager.cpp')
-rw-r--r--src/profilemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profilemanager.cpp b/src/profilemanager.cpp
index 1038598..bb967b9 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 nullptr;
+ return WebProfile::defaultProfile();
}
const QMap<QString, WebProfile *> &ProfileManager::profileList()