fix: designated initializers cannot be used with a non-aggregate type
This commit is contained in:
parent
b0ac58b952
commit
ac1d5ce056
|
@ -232,15 +232,15 @@ void NoteSearch::run() {
|
||||||
}
|
}
|
||||||
dbusArgs.endArray();
|
dbusArgs.endArray();
|
||||||
qDebug() << str;
|
qDebug() << str;
|
||||||
SearchPluginIface::ResultInfo ri = {
|
SearchPluginIface::ResultInfo ri(
|
||||||
icon : XdgIcon::fromTheme("kylin-notebook", QIcon(":/res/icons/desktop.png")),
|
XdgIcon::fromTheme("kylin-notebook", QIcon(":/res/icons/desktop.png")),
|
||||||
name : str.at(1),
|
str.at(1),
|
||||||
description : QVector<SearchPluginIface::DescriptionInfo>() << SearchPluginIface::DescriptionInfo {
|
QVector<SearchPluginIface::DescriptionInfo>() << SearchPluginIface::DescriptionInfo {
|
||||||
key : QString(tr("Note Description:")),
|
key : QString(tr("Note Description:")),
|
||||||
value : str.at(0)
|
value : str.at(0)
|
||||||
},
|
},
|
||||||
actionKey : it.first
|
it.first
|
||||||
};
|
);
|
||||||
if (m_uniqueSymbol ^ g_uniqueSymbol) {
|
if (m_uniqueSymbol ^ g_uniqueSymbol) {
|
||||||
qDebug() << m_uniqueSymbol << g_uniqueSymbol;
|
qDebug() << m_uniqueSymbol << g_uniqueSymbol;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue