aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_highlighting.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-04-30 10:28:19 +0000
committerGravatar Noldor2008-04-30 10:28:19 +0000
commit7a03271a4a4d26c5213a4b4c46f0eee6410e88f4 (patch)
tree4459594873310eae967f6c2a9404f6772353ef7e /src/modules/options/optw_highlighting.cpp
parentremoved useless class; fixed cmake/automake rules; little fixes around (diff)
downloadKVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.tar.gz
KVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.tar.bz2
KVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.zip
Removed obsolete QGridLayout QT3 constructor.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1626 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_highlighting.cpp')
-rw-r--r--src/modules/options/optw_highlighting.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/options/optw_highlighting.cpp b/src/modules/options/optw_highlighting.cpp
index cb63afd33..d200f9cff 100644
--- a/src/modules/options/optw_highlighting.cpp
+++ b/src/modules/options/optw_highlighting.cpp
@@ -42,7 +42,7 @@ KviAlertHighlightingOptionsWidget::~KviAlertHighlightingOptionsWidget()
KviHighlightingOptionsWidget::KviHighlightingOptionsWidget(QWidget * parent)
: KviOptionsWidget(parent,"highlighting_options_widget")
{
- createLayout(7,1);
+ createLayout();
KviBoolSelector * b;
@@ -71,10 +71,9 @@ KviHighlightingOptionsWidget::~KviHighlightingOptionsWidget()
KviAlertOptionsWidget::KviAlertOptionsWidget(QWidget * parent)
: KviOptionsWidget(parent,"highlighting_options_widget")
{
- createLayout(2,1);
-
- KviBoolSelector * b;
+ createLayout();
+
KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Alert Restrictions","options"));
KviBoolSelector * b3 = addBoolSelector(g,__tr2qs_ctx("Restrict alert","options"),KviOption_boolHighlightOnlyNormalMsg);
mergeTip(b3, __tr2qs_ctx("<center>If this option is enabled, KVIrc will alert in the taskbar only if a normal message is received in a channel.<br>Actions like joins, parts and mode changes will be ignored.<br> This is useful if you are in channels with a high rate of traffic and only want to be alerted for messages that are interesting to you.</center>","options"));