summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 0d561581..550f61d4 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -513,9 +513,11 @@ bool OrganizerCore::bootstrap()
void OrganizerCore::createDefaultProfile()
{
QString profilesPath = settings().paths().profiles();
- if (QDir(profilesPath).entryList(QDir::AllDirs | QDir::NoDotAndDotDot).size()
- == 0) {
- Profile newProf("Default", managedGame(), false);
+ if (QDir(profilesPath).entryList(QDir::AllDirs | QDir::NoDotAndDotDot).size() == 0) {
+ Profile newProf(
+ QString::fromStdWString(AppConfig::defaultProfileName()),
+ managedGame(), false);
+
m_ProfileCreated(&newProf);
}
}