X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=1727514493ee072ad48d29ec06e4496d2fcbd3e1;hb=9788cfa5e3cac958a8c4f9e56343c27e396bc8f2;hp=67d14253e39b483760f9f82f57fbf64e2708676a;hpb=f9efdde7f3a6004af8f834c409cfa6ae1d877692;p=quassel.git diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 67d14253..17275144 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -127,16 +127,16 @@ ChatScene::ChatScene(QAbstractItemModel *model, QString idString, qreal width, C connect(&webPreview.timer, &QTimer::timeout, this, &ChatScene::webPreviewNextStep); #endif _showWebPreview = defaultSettings.showWebPreview(); - defaultSettings.notify("ShowWebPreview", this, SLOT(showWebPreviewChanged())); + defaultSettings.notify("ShowWebPreview", this, &ChatScene::showWebPreviewChanged); _showSenderBrackets = defaultSettings.showSenderBrackets(); - defaultSettings.notify("ShowSenderBrackets", this, SLOT(showSenderBracketsChanged())); + defaultSettings.notify("ShowSenderBrackets", this, &ChatScene::showSenderBracketsChanged); _useCustomTimestampFormat = defaultSettings.useCustomTimestampFormat(); - defaultSettings.notify("UseCustomTimestampFormat", this, SLOT(useCustomTimestampFormatChanged())); + defaultSettings.notify("UseCustomTimestampFormat", this, &ChatScene::useCustomTimestampFormatChanged); _timestampFormatString = defaultSettings.timestampFormatString(); - defaultSettings.notify("TimestampFormat", this, SLOT(timestampFormatStringChanged())); + defaultSettings.notify("TimestampFormat", this, &ChatScene::timestampFormatStringChanged); updateTimestampHasBrackets(); _clickTimer.setInterval(QApplication::doubleClickInterval());