Minor bug fix! Each component of the dialog needs to be in a different
variable
This commit is contained in:
1 parent
264c15e543
commit
8d14c447eb
2 files changed
+9
-4
No files matched your search
@@ -106,8 +106,8 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) :
|
||||
|
||||
// resolutionGrid
|
||||
|
||||
*verticalSpacer = QSpacerItem( 10, 20, QSizePolicy::Minimum );
|
||||
MainLayout->addItem( verticalSpacer );
|
||||
resolutionGridVerticalSpacer = new QSpacerItem( 10, 20, QSizePolicy::Minimum );
|
||||
MainLayout->addItem( resolutionGridVerticalSpacer );
|
||||
|
||||
resolutionGrid = new QGridLayout( this );
|
||||
resolutionGrid->setObjectName( QStringLiteral( "resolutionGrid" ) );
|
||||
@@ -151,8 +151,8 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) :
|
||||
|
||||
// Pixel format
|
||||
|
||||
*verticalSpacer = QSpacerItem( 10, 20, QSizePolicy::Minimum );
|
||||
MainLayout->addItem( verticalSpacer );
|
||||
pixelFormatVerticalSpacer = new QSpacerItem( 10, 20, QSizePolicy::Minimum );
|
||||
MainLayout->addItem( pixelFormatVerticalSpacer );
|
||||
|
||||
pixelFormatLayout = new QHBoxLayout( );
|
||||
pixelFormatLayout->setObjectName( QStringLiteral( "pixelFormatLayout" ) );
|
||||
|
||||
@@ -74,6 +74,8 @@ private:
|
||||
QLabel *standardResolutionLabel;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QComboBox *standardResolutionBox;
|
||||
|
||||
QSpacerItem *resolutionGridVerticalSpacer;
|
||||
QGridLayout *resolutionGrid;
|
||||
QLabel *widthLabel;
|
||||
QLabel *pixelsLabel;
|
||||
@@ -83,10 +85,13 @@ private:
|
||||
QLabel *heightLabel;
|
||||
QSpacerItem *verticalSpacer;
|
||||
|
||||
QSpacerItem *pixelFormatVerticalSpacer;
|
||||
QHBoxLayout *pixelFormatLayout;
|
||||
QLabel *pixelFormatLabel;
|
||||
QSpacerItem *pixelFormatHorizontalSpacer;
|
||||
QComboBox *pixelFormatBox;
|
||||
|
||||
|
||||
QSpacerItem *verticalSpacerConfirmation;
|
||||
QDialogButtonBox *dialogButtonOkCancel;
|
||||
|
||||
|
||||
Reference in new issue
Block a user