EntryConfig: Also store 'inherit' key. Needed to save entry later.
这个提交包含在:
父节点
61001ed6cc
当前提交
f06e9a4f7b
@ -181,7 +181,8 @@ EntryConfig EntryProvider::readqsrunFile(const QString &path)
|
|||||||
}
|
}
|
||||||
if(key == "inherit")
|
if(key == "inherit")
|
||||||
{
|
{
|
||||||
auto entry = readEntryFromPath(resolveEntryPath(splitted[1]));
|
result.inherit = splitted[1];
|
||||||
|
auto entry = readEntryFromPath(resolveEntryPath(result.inherit));
|
||||||
if(entry)
|
if(entry)
|
||||||
{
|
{
|
||||||
inheritedConfig = *entry;
|
inheritedConfig = *entry;
|
||||||
|
@ -26,6 +26,7 @@ class EntryConfig
|
|||||||
QString command;
|
QString command;
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
QIcon icon;
|
QIcon icon;
|
||||||
|
QString inherit;
|
||||||
int row = 0;
|
int row = 0;
|
||||||
int col = 0;
|
int col = 0;
|
||||||
|
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户