summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-11 15:24:36 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:05:40 +0200
commit881dd3a614fa03733079f93c11c73511d1d79016 (patch)
tree82fdc3f70a842117faa28b7218db037f35ae2e90 /kdeui
parent8f01bb25dfbf64d17f1b64bc54d68044550483f0 (diff)
downloadtdelibs-881dd3a614fa03733079f93c11c73511d1d79016.tar.gz
tdelibs-881dd3a614fa03733079f93c11c73511d1d79016.zip
Fix qlayout warnings
(cherry picked from commit d54eee3837ecafb81ba3845388533ddf3218e173)
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kdialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/kdeui/kdialog.cpp b/kdeui/kdialog.cpp
index f1fc79061..cea0f1306 100644
--- a/kdeui/kdialog.cpp
+++ b/kdeui/kdialog.cpp
@@ -336,8 +336,10 @@ KSMModalDialogHeader::KSMModalDialogHeader(TQWidget* parent)
frame->setMinimumWidth(400);
vbox->addWidget( frame );
TQGridLayout* gbox = new TQGridLayout( frame, 1, 1, 0, KDialog::spacingHint() );
- TQHBoxLayout* centerbox = new TQHBoxLayout( frame, 0, KDialog::spacingHint() );
- TQHBoxLayout* seperatorbox = new TQHBoxLayout( frame, 0, 0 );
+ TQHBoxLayout* centerbox = new TQHBoxLayout( KDialog::spacingHint() );
+ TQHBoxLayout* seperatorbox = new TQHBoxLayout( 0 );
+ centerbox->setMargin(0);
+ seperatorbox->setMargin(0);
TQWidget* ticon = new TQWidget( frame );
KIconLoader * ldr = KGlobal::iconLoader();
@@ -402,7 +404,7 @@ KSMModalDialog::KSMModalDialog(TQWidget* parent)
XChangeProperty(qt_xdisplay(), winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L);
TQVBoxLayout* vbox = new TQVBoxLayout( this );
-
+
TQFrame* frame = new TQFrame( this );
frame->setFrameStyle( TQFrame::NoFrame );
frame->setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, frame ) );