Skip to content
Permalink
Browse files

Remove the source build check that is not necessary anymore.

  • Loading branch information
wonder-sk committed Jul 25, 2011
1 parent 90eaa87 commit 33c766c8b89b824e7f828031b60b15c0edce0e94
Showing with 0 additions and 15 deletions.
  1. +0 −15 src/app/main.cpp
@@ -479,21 +479,6 @@ int main( int argc, char *argv[] )
QApplication::setStyle( new QPlastiqueStyle );
#endif

// Check to see if qgis was started from the source directory.
// This is done by checking whether qgis binary is in 'src/app'
// directory. If running from there, exit gracefully.
// (QGIS might work incorrectly when run from the sources)
QString appDir = qApp->applicationDirPath();

if ( appDir.endsWith( "/src/app" ) )
{
QMessageBox::critical( 0, "QGIS Not Installed",
"You appear to be running QGIS from the source directory.\n"
"You must install QGIS using make install and run it from the "
"installed directory." );
exit( 1 );
}

QString i18nPath = QgsApplication::i18nPath();

/* Translation file for QGIS.

0 comments on commit 33c766c

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