projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add DesktopEntry to notifyrc
[quassel.git]
/
src
/
qtui
/
osxnotificationbackend.mm
diff --git
a/src/qtui/osxnotificationbackend.mm
b/src/qtui/osxnotificationbackend.mm
index
738ee26
..
ba4cd20
100644
(file)
--- a/
src/qtui/osxnotificationbackend.mm
+++ b/
src/qtui/osxnotificationbackend.mm
@@
-49,7
+49,7
@@
OSXNotificationBackend::OSXNotificationBackend(QObject *parent)
_enabled(true)
{
NotificationSettings notificationSettings;
_enabled(true)
{
NotificationSettings notificationSettings;
- notificationSettings.initAndNotify("OSXNotification/Enabled", this,
SLOT(enabledChanged(QVariant))
, true);
+ notificationSettings.initAndNotify("OSXNotification/Enabled", this,
&OSXNotificationBackend::enabledChanged
, true);
}
void OSXNotificationBackend::enabledChanged(const QVariant &value)
}
void OSXNotificationBackend::enabledChanged(const QVariant &value)
@@
-86,7
+86,7
@@
OSXNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent)
: SettingsPage("Internal", "OSXNotification", parent)
{
_enabledBox = new QCheckBox(tr("Show OS X notifications"));
: SettingsPage("Internal", "OSXNotification", parent)
{
_enabledBox = new QCheckBox(tr("Show OS X notifications"));
- connect(_enabledBox,
SIGNAL(toggled(bool)), this, SLOT(widgetChanged())
);
+ connect(_enabledBox,
&QCheckBox::toggled, this, &ConfigWidget::widgetChanged
);
QHBoxLayout *layout = new QHBoxLayout(this);
layout->addWidget(_enabledBox);
}
QHBoxLayout *layout = new QHBoxLayout(this);
layout->addWidget(_enabledBox);
}