Fix old profile content not being cleared correctly when saving content file selection (Fixes #2173)

This commit is contained in:
scrawl 2014-11-30 20:52:34 +01:00
parent 4c1906b999
commit a4e32d23c6

View file

@ -137,6 +137,7 @@ void Launcher::DataFilesPage::saveSettings(const QString &profile)
void Launcher::DataFilesPage::removeProfile(const QString &profile)
{
mLauncherSettings.remove(QString("Profiles/") + profile);
mLauncherSettings.remove(QString("Profiles/") + profile + QString("/content"));
}
QAbstractItemModel *Launcher::DataFilesPage::profilesModel() const