From 2e9f7d1373be75542373764397430bef411e6f9c Mon Sep 17 00:00:00 2001 From: Guilherme Brondani Torri Date: Wed, 8 Feb 2017 19:57:47 +0100 Subject: [PATCH] savedialog: fix V and H layout --- qucs/qucs/dialogs/savedialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qucs/qucs/dialogs/savedialog.cpp b/qucs/qucs/dialogs/savedialog.cpp index 568a93c353..b7fc17f4d4 100644 --- a/qucs/qucs/dialogs/savedialog.cpp +++ b/qucs/qucs/dialogs/savedialog.cpp @@ -52,7 +52,7 @@ void SaveDialog::setApp(QucsApp *a) void SaveDialog::initDialog() { setSizeGripEnabled( FALSE ); - SaveDialogLayout = new QVBoxLayout( this, 11, 6, "SaveDialogLayout"); + SaveDialogLayout = new QVBoxLayout(this); label = new QLabel( tr( "Select files to be saved" ) ); SaveDialogLayout->addWidget( label ); @@ -65,7 +65,7 @@ void SaveDialog::initDialog() checkBoxLayout->addWidget(fileView); SaveDialogLayout->addWidget(group); - buttonsLayout = new QHBoxLayout( 0, 0, 6, "buttonsLayout"); + buttonsLayout = new QHBoxLayout(this); abortClosingButton = new QPushButton( tr( "Abort Closing" ) ); buttonsLayout->addWidget( abortClosingButton );