Skip to content

Commit

Permalink
show version information on std::cout on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrocha committed Jun 14, 2019
1 parent 8e438e6 commit b85d42c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/app/main.cpp
Expand Up @@ -119,17 +119,8 @@ typedef SInt32 SRefCon;
void version( )
{
const QString msg = QStringLiteral( "QGIS %1 '%2' (%3)\n" ).arg( VERSION ).arg( RELEASE_NAME ).arg( QGSVERSION );

#ifdef Q_OS_WIN
MessageBox( nullptr,
msg,
"QGIS version",
MB_OK );
#else
std::cout << msg.toStdString();
#endif

} // version()
}

/**
* Print usage text
Expand Down

0 comments on commit b85d42c

Please sign in to comment.