Skip to content
Permalink
Browse files

don't run version check from build directory

  • Loading branch information
jef-n committed Feb 14, 2016
1 parent 1f2cc3d commit b7a9634264fa5f7681874e8a222a4a351bee24bd
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/app/qgswelcomepage.cpp
@@ -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 ) ) );
}

0 comments on commit b7a9634

Please sign in to comment.
You can’t perform that action at this time.