diff --git a/src/ProfileManager.cpp b/src/ProfileManager.cpp --- a/src/ProfileManager.cpp +++ b/src/ProfileManager.cpp @@ -110,6 +110,17 @@ } } + // This is the first time konsole we run konsole + if (defaultProfileFileName.isEmpty()) { + const QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("konsole/") + QStringLiteral("default.profile")); + + _defaultProfile->setHidden(false); + _defaultProfile->setProperty(Profile::Path, path); + + saveProfile(_defaultProfile); + emit profileChanged(_defaultProfile); + } + Q_ASSERT(_profiles.count() > 0); Q_ASSERT(_defaultProfile);