From c4059edbdec554e7fcd154b8cda134c15906fbba Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Tue, 17 Jul 2018 13:28:06 -0500 Subject: [PATCH] client: Clarify highlight 'Channel' functionality Modify 'Channel' column tooltip to mention 'channel/query', since this actually refers to buffer name. As it's less likely someone will want to set highlights on queries as they trigger notifications by default, don't rename the column itself. --- src/qtui/settingspages/corehighlightsettingspage.cpp | 4 ++-- src/qtui/settingspages/highlightsettingspage.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/qtui/settingspages/corehighlightsettingspage.cpp b/src/qtui/settingspages/corehighlightsettingspage.cpp index 24c78c1c..a11d36d9 100644 --- a/src/qtui/settingspages/corehighlightsettingspage.cpp +++ b/src/qtui/settingspages/corehighlightsettingspage.cpp @@ -187,8 +187,8 @@ QString CoreHighlightSettingsPage::getTableTooltip(column tableColumn) const "any nickname starting with Announce

"); case CoreHighlightSettingsPage::ChanColumn: - return tr("

Channel: Semicolon separated list of channel names, leave blank to " - "match any name.

" + return tr("

Channel: Semicolon separated list of channel/query names, leave blank " + "to match any name.

" "

Example:
" "#quassel*; #foobar; !#quasseldroid
" "would match on #foobar and any channel starting with #quassel " diff --git a/src/qtui/settingspages/highlightsettingspage.cpp b/src/qtui/settingspages/highlightsettingspage.cpp index 4485b4ff..edb0bcdb 100644 --- a/src/qtui/settingspages/highlightsettingspage.cpp +++ b/src/qtui/settingspages/highlightsettingspage.cpp @@ -64,8 +64,8 @@ HighlightSettingsPage::HighlightSettingsPage(QWidget *parent) ui.highlightTable->horizontalHeaderItem(HighlightSettingsPage::CsColumn)->toolTip()); ui.highlightTable->horizontalHeaderItem(HighlightSettingsPage::ChanColumn)->setToolTip( - tr("

Channel: Semicolon separated list of channel names, leave blank to " - "match any name.

" + tr("

Channel: Semicolon separated list of channel/query names, leave " + "blank to match any name.

" "

Example:
" "#quassel*; #foobar; !#quasseldroid
" "would match on #foobar and any channel starting with #quassel " @@ -176,8 +176,8 @@ void HighlightSettingsPage::addNewRow(QString name, bool regex, bool cs, bool en tr("CS: This option determines if the highlight rule and Channel " "should be interpreted case sensitive.")); chanNameItem->setToolTip( - tr("

Channel: Semicolon separated list of channel names, leave blank to " - "match any name.

" + tr("

Channel: Semicolon separated list of channel/query names, leave " + "blank to match any name.

" "

Example:
" "#quassel*; #foobar; !#quasseldroid
" "would match on #foobar and any channel starting with #quassel " -- 2.20.1