diff options
| author | 2011-01-10 14:27:46 +0000 | |
|---|---|---|
| committer | 2011-01-10 14:27:46 +0000 | |
| commit | e9320d85675cf713c7572b2cf35044b04995488f (patch) | |
| tree | 3599878e44c11b554765ddf490fcc1e5388da19e /src/modules | |
| parent | fixed icon widget signal mismatch (diff) | |
| download | KVIrc-e9320d85675cf713c7572b2cf35044b04995488f.tar.gz KVIrc-e9320d85675cf713c7572b2cf35044b04995488f.tar.bz2 KVIrc-e9320d85675cf713c7572b2cf35044b04995488f.zip | |
removed a console warning
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5326 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/options/OptionsWidget_alertsAndHighlighting.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/options/OptionsWidget_alertsAndHighlighting.cpp b/src/modules/options/OptionsWidget_alertsAndHighlighting.cpp index c011c1574..ca3de875a 100644 --- a/src/modules/options/OptionsWidget_alertsAndHighlighting.cpp +++ b/src/modules/options/OptionsWidget_alertsAndHighlighting.cpp @@ -66,7 +66,9 @@ OptionsWidget_highlighting::OptionsWidget_highlighting(QWidget * parent) KviTalGroupBox * gbox = addGroupBox(0,4,0,4,Qt::Horizontal,__tr2qs_ctx("Highlighting Method","options")); - QGridLayout * g = new QGridLayout(gbox); + // note: KviTalGroupBox automatically deletes its previous layout on setLayout() + // note2: every QWidget will take ownership of its layout. + QGridLayout * g = new QGridLayout(); gbox->setLayout(g); m_pHighlightAllOccurencesRadioButton = new QRadioButton(__tr2qs_ctx("Highlight every occurence of a word inside text","options"),gbox); |
