Commit d098feda authored by Jan Möbius's avatar Jan Möbius

Add info about the config files to about dialog

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14012 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d509ce2b
......@@ -113,7 +113,24 @@ void CoreWidget::showAboutWidget( ) {
aboutWidget_->OpenFlipperAbout->append("Icons:\t " + OpenFlipper::Options::iconDirStr() );
aboutWidget_->OpenFlipperAbout->append("Fonts:\t" + OpenFlipper::Options::fontsDirStr() );
aboutWidget_->OpenFlipperAbout->append("Help:\t" + OpenFlipper::Options::helpDirStr() );
aboutWidget_->OpenFlipperAbout->append("\n");
// =====================================================================================
// Config files
// =====================================================================================
aboutWidget_->OpenFlipperAbout->append("\n");
aboutWidget_->OpenFlipperAbout->setCurrentFont(boldFont);
aboutWidget_->OpenFlipperAbout->append(tr("OpenFlipper configuration files:"));
aboutWidget_->OpenFlipperAbout->setCurrentFont(standardFont);
aboutWidget_->OpenFlipperAbout->append("ConfigDir:\t\t\t" + OpenFlipper::Options::configDirStr() );
aboutWidget_->OpenFlipperAbout->append("Main option file:\t\t" + OpenFlipperSettings().fileName());
aboutWidget_->OpenFlipperAbout->append("Additional option files:");
for ( int i = 0 ; i < OpenFlipper::Options::optionFiles().size() ; ++i)
aboutWidget_->OpenFlipperAbout->append(OpenFlipper::Options::optionFiles()[i]);
// =====================================================================================
// Memory infos
......@@ -291,7 +308,8 @@ void CoreWidget::showAboutWidget( ) {
position = splitted.indexOf ( QRegExp("^flags.*") );
if ( position != -1 ){
QString cpuFlags = splitted[position].section(':', -1).simplified();
aboutWidget_->OpenFlipperAbout->append(tr("CPU capabilities:\t\t ") + cpuFlags );
aboutWidget_->OpenFlipperAbout->append( tr("CPU capabilities:") );
aboutWidget_->OpenFlipperAbout->append( cpuFlags );
} else {
aboutWidget_->OpenFlipperAbout->append(tr("CPU capabilities:\t\t CPU flag specification not found"));
}
......
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