Skip to content
Permalink
Browse files

Avoid qt warning when about screen is opened on dev builds

  • Loading branch information
nyalldawson committed Jan 17, 2020
1 parent acb3d3c commit b8559b802d0d3e9e77229f8242aa49099f1eac9d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsabout.cpp
@@ -230,6 +230,9 @@ void QgsAbout::setWhatsNew()
{
txtWhatsNew->clear();
txtWhatsNew->document()->setDefaultStyleSheet( QgsApplication::reportStyleSheet() );
if ( !QFile::exists( QgsApplication::pkgDataPath() + "/doc/NEWS.html" ) )
return;

txtWhatsNew->setSource( "file:///" + QgsApplication::pkgDataPath() + "/doc/NEWS.html" );
}

0 comments on commit b8559b8

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