EntryProvider: saveUserEntry(): Add missing fields
This commit is contained in:
szülő
101885ffe4
commit
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();
|
||||
|
Betöltés…
Reference in New Issue
Block a user