|
|
@ -32,6 +32,7 @@
|
|
|
|
#include "trace.h"
|
|
|
|
#include "trace.h"
|
|
|
|
#include "qtraylabel.h"
|
|
|
|
#include "qtraylabel.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
#include <kglobal.h>
|
|
|
|
#include <kglobal.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <X11/cursorfont.h>
|
|
|
|
#include <X11/cursorfont.h>
|
|
|
@ -620,8 +621,7 @@ void QTrayLabel::handleIconChange(void)
|
|
|
|
QImage image;
|
|
|
|
QImage image;
|
|
|
|
if (!window_icon)
|
|
|
|
if (!window_icon)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!image.load(QString(ICONS_PATH) + "/question.png"))
|
|
|
|
image = KGlobal::iconLoader()->loadIcon("question", KIcon::NoGroup, KIcon::SizeMedium);
|
|
|
|
image.load(qApp->applicationDirPath() + "/icons/question.png");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else image = QPixmap((const char **) window_icon).convertToImage();
|
|
|
|
else image = QPixmap((const char **) window_icon).convertToImage();
|
|
|
|
if (window_icon) XpmFree(window_icon);
|
|
|
|
if (window_icon) XpmFree(window_icon);
|
|
|
|