|
|
|
@ -29,6 +29,7 @@
|
|
|
|
|
#include <qsize.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
|
#include <kglobal.h>
|
|
|
|
|
#include <klocale.h>
|
|
|
|
|
|
|
|
|
@ -55,9 +56,7 @@ CustomTrayLabel::CustomTrayLabel(const QStringList& argv, pid_t pid,
|
|
|
|
|
*/
|
|
|
|
|
void CustomTrayLabel::installMenu()
|
|
|
|
|
{
|
|
|
|
|
QPixmap kdocker_png(QString(ICONS_PATH) + "/kdocker.png");
|
|
|
|
|
if (kdocker_png.isNull())
|
|
|
|
|
kdocker_png.load(qApp->applicationDirPath() + "/icons/kdocker.png");
|
|
|
|
|
QPixmap kdocker_png(KGlobal::iconLoader()->loadIcon("kdocker", KIcon::NoGroup, KIcon::SizeSmall));
|
|
|
|
|
setIcon(kdocker_png);
|
|
|
|
|
TrayLabelMgr *tlMgr = TrayLabelMgr::instance();
|
|
|
|
|
|
|
|
|
|