aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/OptionsWidget_irc.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-05-10 04:21:27 +0100
committerGravatar un1versal2016-05-11 04:08:07 +0100
commitd27b1922a6c5f2538c7071386dc854e46e70373b (patch)
treea9b3996b7515c51bdd33d5d386e1eab18e201c3f /src/modules/options/OptionsWidget_irc.cpp
parentFix numbers and strings for several KviOption defines. (#1979) (diff)
downloadKVIrc-d27b1922a6c5f2538c7071386dc854e46e70373b.tar.gz
KVIrc-d27b1922a6c5f2538c7071386dc854e46e70373b.tar.bz2
KVIrc-d27b1922a6c5f2538c7071386dc854e46e70373b.zip
OptionsWidget_*: fix formatting in some tooltips
sneak in consistency + cleanup jobby
Diffstat (limited to 'src/modules/options/OptionsWidget_irc.cpp')
-rw-r--r--src/modules/options/OptionsWidget_irc.cpp28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/modules/options/OptionsWidget_irc.cpp b/src/modules/options/OptionsWidget_irc.cpp
index c49c8659b..d6db20a4a 100644
--- a/src/modules/options/OptionsWidget_irc.cpp
+++ b/src/modules/options/OptionsWidget_irc.cpp
@@ -43,8 +43,13 @@ OptionsWidget_ircGeneral::OptionsWidget_ircGeneral(QWidget * parent)
{
setObjectName("irc_options_widget");
createLayout();
+
KviBoolSelector * b = addBoolSelector(0, 1, 0, 1, __tr2qs_ctx("Show network name in console window list entry", "options"), KviOption_boolShowNetworkNameForConsoleWindowListEntry);
- mergeTip(b, __tr2qs_ctx("This option will cause KVIrc to show the network name as the console window list entry instead of the server name. This is nice to keep on unless your servers are not organized in networks or you often connect to two servers of the same network.", "options"));
+ mergeTip(b, __tr2qs_ctx("This option will cause KVIrc to show the network name as the "
+ "console window list entry instead of the server name. "
+ "This is nice to keep on unless your servers are not organized "
+ "in networks or you often connect to two servers of the same network.", "options"));
+
addRowSpacer(0, 2, 0, 2);
}
@@ -56,21 +61,20 @@ OptionsWidget_ircAdvanced::OptionsWidget_ircAdvanced(QWidget * parent)
{
setObjectName("irc_advanced_options_widget");
createLayout();
+
KviBoolSelector * b = addBoolSelector(0, 0, 0, 0, __tr2qs_ctx("Force immediate quit", "options"), KviOption_boolForceBrutalQuit);
- mergeTip(b,
- __tr2qs_ctx("This option causes KVIrc to close "
- "the connection immediately after sending the QUIT message.<br>"
- "When this option is disabled, KVIrc will wait for the server "
- "to close the connection.<br>"
- "Note that if you use this, your QUIT message may be not displayed.",
- "options"));
+ mergeTip(b, __tr2qs_ctx("This option causes KVIrc to close "
+ "the connection immediately after sending the QUIT message. "
+ "When this option is disabled, KVIrc will wait for the server "
+ "to close the connection.<br>"
+ "Note that if you use this, your QUIT message may be not displayed.","options"));
+
addBoolSelector(0, 1, 0, 1, __tr2qs_ctx("Prepend gender info to real name", "options"), KviOption_boolPrependGenderInfoToRealname);
addBoolSelector(0, 2, 0, 2, __tr2qs_ctx("Prepend avatar info to real name", "options"), KviOption_boolPrependAvatarInfoToRealname);
b = addBoolSelector(0, 3, 0, 3, __tr2qs_ctx("Prepend smart nick color info to real name", "options"), KviOption_boolPrependNickColorInfoToRealname);
- mergeTip(b,
- __tr2qs_ctx("This feature will not work if you have chosen your "
- "nick background color to be transparent.",
- "options"));
+ mergeTip(b, __tr2qs_ctx("This feature will not work if you have chosen your "
+ "nick background color to be transparent.", "options"));
+
addRowSpacer(0, 4, 0, 4);
}