projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clazy: Convert many old-style connects into function pointer based
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.cpp
diff --git
a/src/qtui/systraynotificationbackend.cpp
b/src/qtui/systraynotificationbackend.cpp
index
138364c
..
eaec2f7
100644
(file)
--- a/
src/qtui/systraynotificationbackend.cpp
+++ b/
src/qtui/systraynotificationbackend.cpp
@@
-144,7
+144,7
@@
SystrayNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : Settin
{
_showBubbleBox = new QCheckBox(tr("Show a message in a popup"));
_showBubbleBox->setIcon(icon::get("dialog-information"));
{
_showBubbleBox = new QCheckBox(tr("Show a message in a popup"));
_showBubbleBox->setIcon(icon::get("dialog-information"));
- connect(_showBubbleBox,
SIGNAL(toggled(bool)), this, SLOT(widgetChanged())
);
+ connect(_showBubbleBox,
&QAbstractButton::toggled, this, &ConfigWidget::widgetChanged
);
auto *layout = new QHBoxLayout(this);
layout->addWidget(_showBubbleBox);
}
auto *layout = new QHBoxLayout(this);
layout->addWidget(_showBubbleBox);
}