Skip to content

Commit

Permalink
don't run version check from build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 14, 2016
1 parent 1f2cc3d commit b7a9634
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/qgswelcomepage.cpp
Expand Up @@ -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 ) ) );
}
Expand Down

0 comments on commit b7a9634

Please sign in to comment.