1
0
Fork 0

EntryProvider: saveUserEntry(): Add missing fields

Dieser Commit ist enthalten in:
Albert S. 2020-10-04 21:36:40 +02:00
Ursprung 101885ffe4
Commit 776cbe4d30
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -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();