#include "qtuisettings.h"
#include "jumpkeyhandler.h"
-#include "uisettings.h"
-
#include "selectionmodelsynchronizer.h"
#include "mappedselectionmodel.h"
installEventFilter(new JumpKeyHandler(this));
- UiSettings uiSettings;
- QString style = uiSettings.value("Style", QString("")).toString();
- if(style != "") {
- QApplication::setStyle(style);
- }
-
#ifdef HAVE_DBUS
desktopNotifications = new org::freedesktop::Notifications(
"org.freedesktop.Notifications",
if(!reply.isValid()) {
/* ERROR */
- qDebug() << "Error on sending notification..." << reply;
+ // could also happen if no notification service runs, so... whatever :)
+ //qDebug() << "Error on sending notification..." << reply.error();
return;
}
notificationId = reply.value();
- qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
+ // qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
}
void MainWin::desktopNotificationClosed(uint id, uint reason) {
- qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
+ // qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
notificationId = 0;
}
void MainWin::desktopNotificationInvoked(uint id, const QString & action) {
- qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
+ // qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
}
#else /* HAVE_DBUS */