Skip to content

Commit

Permalink
Remove annoying debug output from about screen
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 22, 2021
1 parent ed65a6a commit e29f119
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions src/app/qgsabout.cpp
Expand Up @@ -107,8 +107,6 @@ void QgsAbout::init()
// Now load up the contributors list
//
QFile file2( QgsApplication::contributorsFilePath() );
printf( "Reading contributors file %s.............................................\n",
file2.fileName().toLocal8Bit().constData() );
if ( file2.open( QIODevice::ReadOnly ) )
{
QTextStream stream( &file2 );
Expand All @@ -132,21 +130,14 @@ void QgsAbout::init()
}
}



// read the DONORS file and populate the text widget
QFile donorsFile( QgsApplication::donorsFilePath() );
#ifdef QGISDEBUG
printf( "Reading donors file %s.............................................\n",
donorsFile.fileName().toLocal8Bit().constData() );
#endif
if ( donorsFile.open( QIODevice::ReadOnly ) )
{
QString donorsHTML = ""
+ tr( "<p>For a list of individuals and institutions who have contributed "
"money to fund QGIS development and other project costs see "
"<a href=\"https://qgis.org/en/site/about/sustaining_members.html#list-of-donors\">"
"https://qgis.org/en/site/about/sustaining_members.html#list-of-donors</a></p>" );
QString donorsHTML = tr( "<p>For a list of individuals and institutions who have contributed "
"money to fund QGIS development and other project costs see "
"<a href=\"https://qgis.org/en/site/about/sustaining_members.html#list-of-donors\">"
"https://qgis.org/en/site/about/sustaining_members.html#list-of-donors</a></p>" );
#if 0
QString website;
QTextStream donorsStream( &donorsFile );
Expand Down Expand Up @@ -184,10 +175,6 @@ void QgsAbout::init()

// read the TRANSLATORS file and populate the text widget
QFile translatorFile( QgsApplication::translatorsFilePath() );
#ifdef QGISDEBUG
printf( "Reading translators file %s.............................................\n",
translatorFile.fileName().toLocal8Bit().constData() );
#endif
if ( translatorFile.open( QIODevice::ReadOnly ) )
{
QString translatorHTML;
Expand Down

0 comments on commit e29f119

Please sign in to comment.