* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <QIcon>
-
#include "systrayanimationnotificationbackend.h"
#include "clientsettings.h"
+#include "icon.h"
#include "mainwin.h"
#include "qtui.h"
#include "systemtray.h"
: AbstractNotificationBackend(parent)
{
NotificationSettings notificationSettings;
- notificationSettings.initAndNotify("Systray/Alert", this, SLOT(alertChanged(QVariant)), true);
+ notificationSettings.initAndNotify("Systray/Alert", this, &SystrayAnimationNotificationBackend::alertChanged, true);
}
SystrayAnimationNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : SettingsPage("Internal", "SystrayAnimation", parent)
{
ui.setupUi(this);
- ui.enableAlert->setIcon(QIcon::fromTheme("dialog-information"));
+ ui.enableAlert->setIcon(icon::get("dialog-information"));
ui.attentionBehavior->setEnabled(ui.enableAlert->isChecked());