Change dialog box call and clean unused code

This commit is contained in:
jfmcarreira committed 2014-01-28 02:02:47 +00:00
1 parent 40fbe0b123
commit 11e8703ed1
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -34,9 +34,6 @@ ConfigureResolutionDialog::ConfigureResolutionDialog( QWidget *parent ) :
setStandardResolutionSizes();
if( objectName().isEmpty() )
setObjectName( QStringLiteral( "ConfigureResolution" ) );
// Config dialog
setObjectName( QStringLiteral( "ConfigureResolution" ) );
@@ -162,6 +159,8 @@ ConfigureResolutionDialog::ConfigureResolutionDialog( QWidget *parent ) :
connect( dialogButtonOkCancel, SIGNAL( accepted() ), this, SLOT( accept() ) );
connect( dialogButtonOkCancel, SIGNAL( rejected() ), this, SLOT( reject() ) );
QMetaObject::connectSlotsByName(this);
}
void ConfigureResolutionDialog::StandardResolutionSelection()
+1 -1
View File
@@ -72,7 +72,7 @@ bool ImageInterface::loadFile( const QString &fileName )
{
QApplication::setOverrideCursor( Qt::WaitCursor );
ConfigureResolutionDialog resolutionDialog;
ConfigureResolutionDialog resolutionDialog(this);
if( resolutionDialog.exec() == QDialog::Rejected )
{