mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
don't run version check from build directory
This commit is contained in:
parent
1f2cc3d051
commit
b7a9634264
@ -58,8 +58,11 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )
|
||||
mVersionInformation->setVisible( false );
|
||||
|
||||
mVersionInfo = new QgsVersionInfo();
|
||||
connect( mVersionInfo, SIGNAL( versionInfoAvailable() ), this, SLOT( versionInfoReceived() ) );
|
||||
mVersionInfo->checkVersion();
|
||||
if( !QgsApplication::isRunningFromBuildDir() )
|
||||
{
|
||||
connect( mVersionInfo, SIGNAL( versionInfoAvailable() ), this, SLOT( versionInfoReceived() ) );
|
||||
mVersionInfo->checkVersion();
|
||||
}
|
||||
|
||||
connect( recentProjectsListView, SIGNAL( activated( QModelIndex ) ), this, SLOT( itemActivated( QModelIndex ) ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user