File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
#define QGSCONFIG_H
6
6
7
7
// Version must be specified according to
8
- // <int>.<int>.<int>-<any text>.
8
+ // <int>.<int>.<int>"
9
9
// or else upgrading old project file will not work
10
10
// reliably.
11
- #define VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${RELEASE_NAME} "
11
+ #define VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}"
12
12
13
13
//used in vim src/core/qgis.cpp
14
14
//The way below should work but it resolves to a number like 0110 which the compiler treats as octal I think
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ static void setTitleBarText_( QWidget & qgisApp )
376
376
{
377
377
QString caption = QgisApp::tr( "QGIS " );
378
378
379
- if ( QGis::QGIS_VERSION.endsWith( "Master" ) )
379
+ if ( QGis::QGIS_RELEASE_NAME == "Master" )
380
380
{
381
381
caption += QString( "%1" ).arg( QGis::QGIS_DEV_VERSION );
382
382
}
You can’t perform that action at this time.
0 commit comments