mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Use the types shown by qdbusviewer
This commit is contained in:
@@ -60,8 +60,10 @@ FdoNotifyPlugin::pushInfo( const QString caller, const Tomahawk::InfoSystem::Inf
|
|||||||
arguments << QString(); //app_icon
|
arguments << QString(); //app_icon
|
||||||
arguments << caller; //summary
|
arguments << caller; //summary
|
||||||
arguments << hash["message"]; //body
|
arguments << hash["message"]; //body
|
||||||
arguments << QStringList(); //actions
|
QStringList actions;
|
||||||
QMap< QString, QVariant > dict;
|
actions << "dosomething" << "Do Something";
|
||||||
|
arguments << actions; //actions
|
||||||
|
QVariantMap dict;
|
||||||
dict["desktop-entry"] = QString( "tomahawk" );
|
dict["desktop-entry"] = QString( "tomahawk" );
|
||||||
arguments << dict; //hints
|
arguments << dict; //hints
|
||||||
arguments << quint32( -1 ); //expire_timeout
|
arguments << quint32( -1 ); //expire_timeout
|
||||||
|
Reference in New Issue
Block a user