Salome HOME
Removed an update of Cut tool bar button.
[modules/gui.git] / src / SalomeApp / SalomeApp_AboutDlg.cxx
index 2f142db9158d895c7b7a9495adb2fadf099373cb..1160ad33d9177866b281f1f88a43dd9e8fe8f2f4 100644 (file)
@@ -22,6 +22,12 @@ SalomeApp_AboutDlg::SalomeApp_AboutDlg( const QString& defName, const QString& d
   if ( !ico.isNull() )
     setIcon( ico );
 
+  QPalette pal = palette();
+  QColorGroup cg = pal.active();
+  cg.setColor( QColorGroup::Foreground, Qt::darkBlue ); 
+  cg.setColor( QColorGroup::Background, Qt::white );
+  pal.setActive( cg ); pal.setInactive( cg ); pal.setDisabled( cg );
+  setPalette(pal);
 
   QVBoxLayout* main = new QVBoxLayout( mainFrame() );
   QGroupBox* base = new QGroupBox( 1, Qt::Horizontal, "", mainFrame() );
@@ -71,7 +77,7 @@ SalomeApp_AboutDlg::SalomeApp_AboutDlg( const QString& defName, const QString& d
   license->setText( tr( "ABOUT_LICENSE" ) );
   checkLabel( license );
 
-  QString capText = tr( "ABOUT_VERSION" );
+  QString capText = tr( "ABOUT_CAPTION" );
   if ( capText.contains( "%1" ) )
     capText = capText.arg( defName );
   setCaption( capText );