projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Provide helper for resolving overloaded function pointers
[quassel.git]
/
src
/
client
/
bufferviewoverlay.cpp
diff --git
a/src/client/bufferviewoverlay.cpp
b/src/client/bufferviewoverlay.cpp
index
20d33f8
..
0769435
100644
(file)
--- a/
src/client/bufferviewoverlay.cpp
+++ b/
src/client/bufferviewoverlay.cpp
@@
-159,7
+159,7
@@
void BufferViewOverlay::viewInitialized(BufferViewConfig *config)
}
disconnect(config, SIGNAL(initDone()), this, SLOT(viewInitialized()));
}
disconnect(config, SIGNAL(initDone()), this, SLOT(viewInitialized()));
- connect(config,
SIGNAL(configChanged()), this, SLOT(update())
);
+ connect(config,
&BufferViewConfig::configChanged, this, &BufferViewOverlay::update
);
// check if the view was removed in the meantime...
if (_bufferViewIds.contains(config->bufferViewId()))
// check if the view was removed in the meantime...
if (_bufferViewIds.contains(config->bufferViewId()))
@@
-173,7
+173,7
@@
void BufferViewOverlay::viewInitialized(BufferViewConfig *config)
void BufferViewOverlay::viewInitialized()
{
void BufferViewOverlay::viewInitialized()
{
-
BufferViewConfig
*config = qobject_cast<BufferViewConfig *>(sender());
+
auto
*config = qobject_cast<BufferViewConfig *>(sender());
Q_ASSERT(config);
viewInitialized(config);
Q_ASSERT(config);
viewInitialized(config);