Skip to content

Commit

Permalink
fix 85d2cb0
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 4, 2019
1 parent 9f1ce08 commit 9a55675
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/app/main.cpp
Expand Up @@ -400,8 +400,9 @@ void myMessageOutput( QtMsgType type, const char *msg )
#ifdef QGISDEBUG
// Print all warnings except setNamedColor.
// Only seems to happen on windows
if ( 0 != strncmp( msg, "QColor::setNamedColor: Unknown color name 'param", 48 )
&& 0 != strncmp( msg, "Logged warning", 14 ) )
if ( 0 != strncmp( msg, "QColor::setNamedColor: Unknown color name 'param", 48 ) &&
0 != strncmp( msg, "Trying to create a QVariant instance of QMetaType::Void type, an invalid QVariant will be constructed instead", 109 ) &&
0 != strncmp( msg, "Logged warning", 14 ) )
{
// TODO: Verify this code in action.
dumpBacktrace( 20 );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -4666,7 +4666,7 @@ void QgisApp::about()
}
else
{
versionString += QStringLiteral( "%1</td><td><a href=\"https://github.com/qgis/QGIS/commit/%1\">%1</a></td>" ).arg( tr( "QGIS code revision" ) ).arg( Qgis::QGIS_DEV_VERSION );
versionString += QStringLiteral( "%1</td><td><a href=\"https://github.com/qgis/QGIS/commit/%2\">%2</a></td>" ).arg( tr( "QGIS code revision" ) ).arg( Qgis::QGIS_DEV_VERSION );
}

versionString += QLatin1String( "</tr><tr>" );
Expand Down

0 comments on commit 9a55675

Please sign in to comment.