Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Small cleanup for e0838b0
  • Loading branch information
dakcarto committed Apr 26, 2013
1 parent b57841f commit bab9163
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgisappinterface.cpp
Expand Up @@ -560,8 +560,6 @@ void QgisAppInterface::preloadForm( QString uifile )

void QgisAppInterface::cacheloadForm( QString uifile )
{
QUiLoader loader;

QFile file( uifile );

if ( file.open( QFile::ReadOnly ) )
Expand All @@ -572,6 +570,7 @@ void QgisAppInterface::cacheloadForm( QString uifile )
loader.setWorkingDirectory( fi.dir() );
QWidget *myWidget = loader.load( &file );
file.close();
delete myWidget;
}
}

Expand Down

0 comments on commit bab9163

Please sign in to comment.