projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Replace most remaining old-style connects by PMF ones
[quassel.git]
/
src
/
qtui
/
qtuiapplication.cpp
diff --git
a/src/qtui/qtuiapplication.cpp
b/src/qtui/qtuiapplication.cpp
index
9eea3c6
..
2438d9c
100644
(file)
--- a/
src/qtui/qtuiapplication.cpp
+++ b/
src/qtui/qtuiapplication.cpp
@@
-68,7
+68,7
@@
Quassel::QuitHandler QtUiApplication::quitHandler()
// Wait until the Client instance is destroyed before quitting the event loop
return [this]() {
quInfo() << "Client shutting down...";
// Wait until the Client instance is destroyed before quitting the event loop
return [this]() {
quInfo() << "Client shutting down...";
- connect(_client.get(),
SIGNAL(destroyed()), QCoreApplication::instance(), SLOT(quit())
);
+ connect(_client.get(),
&QObject::destroyed, QCoreApplication::instance(), &QCoreApplication::quit
);
_client.release()->deleteLater();
};
}
_client.release()->deleteLater();
};
}