Skip to content

Commit b85d42c

Browse files
committedJun 14, 2019
show version information on std::cout on Windows
1 parent 8e438e6 commit b85d42c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed
 

‎src/app/main.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,8 @@ typedef SInt32 SRefCon;
119119
void version( )
120120
{
121121
const QString msg = QStringLiteral( "QGIS %1 '%2' (%3)\n" ).arg( VERSION ).arg( RELEASE_NAME ).arg( QGSVERSION );
122-
123-
#ifdef Q_OS_WIN
124-
MessageBox( nullptr,
125-
msg,
126-
"QGIS version",
127-
MB_OK );
128-
#else
129122
std::cout << msg.toStdString();
130-
#endif
131-
132-
} // version()
123+
}
133124

134125
/**
135126
* Print usage text

0 commit comments

Comments
 (0)
Please sign in to comment.