aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/OptionsWidget_ircView.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2017-12-29 15:32:37 +0100
committerGravatar Szymon Tomasz Stefanek2017-12-29 15:32:37 +0100
commit48b433181be976d05c551e911a1fbcaa89234d80 (patch)
treefca2f3275c762782ec717b3f642e702e4b0ad85d /src/modules/options/OptionsWidget_ircView.cpp
parentRevert "Address @IceN9ne's review." (diff)
downloadKVIrc-48b433181be976d05c551e911a1fbcaa89234d80.tar.gz
KVIrc-48b433181be976d05c551e911a1fbcaa89234d80.tar.bz2
KVIrc-48b433181be976d05c551e911a1fbcaa89234d80.zip
Revert "Allow adding tooltips to other widgets in the options dialogs."
This reverts commit 2f723938d6434302e6538e145bf8e1839de93b62.
Diffstat (limited to 'src/modules/options/OptionsWidget_ircView.cpp')
-rw-r--r--src/modules/options/OptionsWidget_ircView.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/modules/options/OptionsWidget_ircView.cpp b/src/modules/options/OptionsWidget_ircView.cpp
index 26bc3de91..85319908e 100644
--- a/src/modules/options/OptionsWidget_ircView.cpp
+++ b/src/modules/options/OptionsWidget_ircView.cpp
@@ -49,16 +49,12 @@ OptionsWidget_ircViewLook::OptionsWidget_ircViewLook(QWidget * parent)
addPixmapSelector(0, 2, 1, 2, __tr2qs_ctx("Background image:", "options"), KviOption_pixmapIrcViewBackground);
- QLabel * pLabel = addLabel(0, 3, 0, 3, __tr2qs_ctx("Horizontal align:", "options"));
- setBasicTip(pLabel, g_uintOptionsTable[KviOption_uintIrcViewPixmapAlign].name);
+ addLabel(0, 3, 0, 3, __tr2qs_ctx("Horizontal align:", "options"));
m_pHorizontalAlign = new QComboBox(this);
- setBasicTip(m_pHorizontalAlign, g_uintOptionsTable[KviOption_uintIrcViewPixmapAlign].name);
addWidgetToLayout(m_pHorizontalAlign, 1, 3, 1, 3);
- pLabel = addLabel(0, 4, 0, 4, __tr2qs_ctx("Vertical align:", "options"));
- setBasicTip(pLabel, g_uintOptionsTable[KviOption_uintIrcViewPixmapAlign].name);
+ addLabel(0, 4, 0, 4, __tr2qs_ctx("Vertical align:", "options"));
m_pVerticalAlign = new QComboBox(this);
- setBasicTip(m_pVerticalAlign, g_uintOptionsTable[KviOption_uintIrcViewPixmapAlign].name);
addWidgetToLayout(m_pVerticalAlign, 1, 4, 1, 4);
m_pHorizontalAlign->addItem(__tr2qs_ctx("Tile", "options"));
@@ -182,10 +178,8 @@ OptionsWidget_ircViewMarker::OptionsWidget_ircViewMarker(QWidget * parent)
KviUIntSelector * s = addUIntSelector(0, 2, 1, 2, __tr2qs_ctx("Marker size:", "options"), KviOption_uintIrcViewMarkerSize, 1, 5, 1);
s->setSuffix(__tr2qs_ctx(" pixels", "options"));
- QLabel * pLabel = addLabel(0, 3, 0, 3, __tr2qs_ctx("Marker style:", "options"));
- setBasicTip(pLabel, g_uintOptionsTable[KviOption_uintIrcViewMarkerStyle].name);
+ addLabel(0, 3, 0, 3, __tr2qs_ctx("Marker style:", "options"));
m_pMarkerStyle = new QComboBox(this);
- setBasicTip(m_pMarkerStyle, g_uintOptionsTable[KviOption_uintIrcViewMarkerStyle].name);
addWidgetToLayout(m_pMarkerStyle, 1, 3, 1, 3);
addRowSpacer(0, 4, 0, 4);