Skip to content

Commit

Permalink
Remove buggy and outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 10, 2016
1 parent d9a79c9 commit 91de99a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/app/qgisapp.cpp
Expand Up @@ -11138,20 +11138,7 @@ void QgisApp::oldProjectVersionWarning( const QString& oldVersion )

QString title = tr( "Project file is older" );

#ifdef ANDROID
//this is needed to deal with https://hub.qgis.org/issues/4573
QMessageBox box( QMessageBox::Warning, title, tr( "This project file was saved by an older version of QGIS" ), QMessageBox::Ok, nullptr );
box.setDetailedText(
text.remove( 0, 3 )
.replace( QString( "<p>" ), QString( "\n\n" ) )
.replace( QString( "<br>" ), QString( "\n" ) )
.replace( QString( "<a href=\"https://hub.qgis.org/projects/quantum-gis\">https://hub.qgis.org/projects/quantum-gis</a> " ), QString( "\nhttps://hub.qgis.org/projects/quantum-gis" ) )
.replace( QRegExp( "</?tt>" ), QString() )
);
box.exec();
#else
messageBar()->pushMessage( title, smalltext );
#endif
}
return;
}
Expand Down

0 comments on commit 91de99a

Please sign in to comment.