summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-11 15:24:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-11 15:24:36 -0500
commitd54eee3837ecafb81ba3845388533ddf3218e173 (patch)
tree0153f52c21a1af08923d5b1f37ca767013f115df /tdeui
parentbd7ce7139547490e8e1b017d088a83f115ad907f (diff)
downloadtdelibs-d54eee3837ecafb81ba3845388533ddf3218e173.tar.gz
tdelibs-d54eee3837ecafb81ba3845388533ddf3218e173.zip
Fix qlayout warnings
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kdialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tdeui/kdialog.cpp b/tdeui/kdialog.cpp
index 2d4d53977..868eb3b44 100644
--- a/tdeui/kdialog.cpp
+++ b/tdeui/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(tqt_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 ) );