We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b57841f commit bab9163Copy full SHA for bab9163
src/app/qgisappinterface.cpp
@@ -560,8 +560,6 @@ void QgisAppInterface::preloadForm( QString uifile )
560
561
void QgisAppInterface::cacheloadForm( QString uifile )
562
{
563
- QUiLoader loader;
564
-
565
QFile file( uifile );
566
567
if ( file.open( QFile::ReadOnly ) )
@@ -572,6 +570,7 @@ void QgisAppInterface::cacheloadForm( QString uifile )
572
570
loader.setWorkingDirectory( fi.dir() );
573
571
QWidget *myWidget = loader.load( &file );
574
file.close();
+ delete myWidget;
575
}
576
577
0 commit comments