EntryProvider: saveUserEntry(): Add missing fields

Cette révision appartient à :
Albert S. 2020-10-04 21:36:40 +02:00
Parent 101885ffe4
révision 776cbe4d30

Voir le fichier

@ -298,6 +298,8 @@ void EntryProvider::saveUserEntry(const EntryConfig &config)
}
outStream << "row" << " " << config.row << endl;
outStream << "col" << " " << config.col << endl;
outStream << "hidden" << " " << config.hidden << endl;
outStream << "key" << " " << config.key << endl;
if(config.type == EntryType::USER)
{
if(!config.name.isEmpty())
@ -312,6 +314,10 @@ void EntryProvider::saveUserEntry(const EntryConfig &config)
{
outStream << "icon" << " " << config.iconPath << endl;
}
if(!config.arguments.empty())
{
outStream << "arguments" << " " << config.arguments.join(' ') << endl;
}
}
outStream.flush();