1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-28 11:42:42 +01:00

Use the types shown by qdbusviewer

This commit is contained in:
Jeff Mitchell 2011-06-21 18:22:15 -04:00
parent 59346f014a
commit 8d1f0e1646

View File

@ -60,8 +60,10 @@ FdoNotifyPlugin::pushInfo( const QString caller, const Tomahawk::InfoSystem::Inf
arguments << QString(); //app_icon
arguments << caller; //summary
arguments << hash["message"]; //body
arguments << QStringList(); //actions
QMap< QString, QVariant > dict;
QStringList actions;
actions << "dosomething" << "Do Something";
arguments << actions; //actions
QVariantMap dict;
dict["desktop-entry"] = QString( "tomahawk" );
arguments << dict; //hints
arguments << quint32( -1 ); //expire_timeout