X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=1727514493ee072ad48d29ec06e4496d2fcbd3e1;hp=67d14253e39b483760f9f82f57fbf64e2708676a;hb=2c8434f74c68194d56f2084f637419123e61d18b;hpb=61f33c7895e324f6e95034d86897ad2e963653f1 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());