diff options
| author | 2010-10-16 15:21:19 +0000 | |
|---|---|---|
| committer | 2010-10-16 15:21:19 +0000 | |
| commit | c64ecad0ee25cb739d236da0e29a988cd88bae94 (patch) | |
| tree | 59ecc67574974a93883f7a1d58852627e2fd1a32 /src/modules/options/optw_dcc.cpp | |
| parent | $str.printf: applied patch from #996 and fixed ?f and ?e format strings when ... (diff) | |
| download | KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.gz KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.tar.bz2 KVIrc-c64ecad0ee25cb739d236da0e29a988cd88bae94.zip | |
applied further patches for #996
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5075 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_dcc.cpp')
| -rw-r--r-- | src/modules/options/optw_dcc.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/modules/options/optw_dcc.cpp b/src/modules/options/optw_dcc.cpp index 0ada5ad12..c92756d00 100644 --- a/src/modules/options/optw_dcc.cpp +++ b/src/modules/options/optw_dcc.cpp @@ -311,24 +311,23 @@ KviDccChatOptionsWidget::KviDccChatOptionsWidget(QWidget * parent) createLayout(); KviTalGroupBox * g = addGroupBox(0,0,0,0,Qt::Horizontal,__tr2qs_ctx("On Chat Request","options")); - KviBoolSelector * b = addBoolSelector(g,__tr2qs_ctx("Automatically accept","options"),KviOption_boolAutoAcceptDccChat); - b = addBoolSelector(g,__tr2qs_ctx("Open minimized when auto-accepted","options"),KviOption_boolCreateMinimizedDccChatWhenAutoAccepted,!KVI_OPTION_BOOL(KviOption_boolCreateMinimizedDccChat)); + addBoolSelector(g,__tr2qs_ctx("Automatically accept","options"),KviOption_boolAutoAcceptDccChat); - KviBoolSelector * b1 = addBoolSelector(0,1,0,1,__tr2qs_ctx("Always open as minimized","options"),KviOption_boolCreateMinimizedDccChat); + KviBoolSelector * b1 = addBoolSelector(g,__tr2qs_ctx("Open minimized when auto-accepted","options"),KviOption_boolCreateMinimizedDccChatWhenAutoAccepted,!KVI_OPTION_BOOL(KviOption_boolCreateMinimizedDccChat)); - connect(b1,SIGNAL(toggled(bool)),b,SLOT(setNotEnabled(bool))); + KviBoolSelector * b2 = addBoolSelector(0,1,0,1,__tr2qs_ctx("Always open as minimized","options"),KviOption_boolCreateMinimizedDccChat); - KviBoolSelector * b2; + connect(b2,SIGNAL(toggled(bool)),b1,SLOT(setNotEnabled(bool))); #if (defined(COMPILE_ON_WINDOWS) || defined(COMPILE_KDE_SUPPORT) || defined(COMPILE_ON_MINGW)) b2 = addBoolSelector(0,2,0,2,__tr2qs_ctx("Flash system taskbar on new dcc chat message","options"),KviOption_boolFlashDccChatWindowOnNewMessages); - mergeTip(b, + mergeTip(b2, __tr2qs_ctx("<center>This option causes the system taskbar entry for KVIrc to flash when a new dcc chat message " \ "is received and the KVIrc window is not the active.</center>","options")); #endif b2 = addBoolSelector(0,3,0,3, __tr2qs_ctx("Popup notifier on new dcc chat message","options"),KviOption_boolPopupNotifierOnNewDccChatMessages); - mergeTip(b, + mergeTip(b2, __tr2qs_ctx("<center>This option causes a small notifier window to pop up " \ "in the low right corner of the screen when a new message is received " \ "and the KVIrc window is not active.</center>","options")); |
