EntryProvider: saveUserEntry(): Add missing fields
Cette révision appartient à :
Parent
101885ffe4
révision
776cbe4d30
@ -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();
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user