Skip to content
Permalink
Browse files

Remove buggy and outdated code

  • Loading branch information
m-kuhn committed Jun 10, 2016
1 parent d9a79c9 commit 91de99a8dffe3dc806267c429cd82b1f98531696
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/app/qgisapp.cpp
@@ -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;
}

0 comments on commit 91de99a

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