Commit 10261b39 authored by Jan Möbius's avatar Jan Möbius

Output supported image read formats to the about dialog



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14028 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ec16d52c
......@@ -513,6 +513,20 @@ void CoreWidget::showAboutWidget( ) {
aboutWidget_->OpenFlipperAbout->append(tr("Currently used Version:\t") + qVersion() );
aboutWidget_->OpenFlipperAbout->append(tr("Link time Version:\t\t") + QT_VERSION_STR );
QList<QByteArray> imageFormats = QImageReader::supportedImageFormats();
QString formatsString = "";
for ( int i = 0 ; i < imageFormats.size() ; ++i) {
formatsString += imageFormats[i] + " ";
if ( (i != 0) && (i % 15) == 0 )
formatsString+= "\n";
}
aboutWidget_->OpenFlipperAbout->append(tr("Supported image read formats:") );
aboutWidget_->OpenFlipperAbout->append(formatsString);
aboutWidget_->OpenFlipperAbout->append("\n");
aboutWidget_->OpenFlipperAbout->append(tr("Currently used Library paths:") );
QStringList libPaths = QCoreApplication::libraryPaths();
for(int i = 0 ; i < libPaths.size() ; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment