Commit 4b0ae864 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] - changed OW window title to actually show the release number

parent 90c1c898
......@@ -180,7 +180,8 @@ void WMainWindow::setupGUI()
// NOTE: this only is an initial size. The state reloaded from QSettings will set it to the value the user had last session.
resize( 800, 600 );
setWindowIcon( m_iconManager.getIcon( "logo" ) );
setWindowTitle( QApplication::translate( "MainWindow", "OpenWalnut (development version)", 0, QApplication::UnicodeUTF8 ) );
std::string windowHeading = std::string( "OpenWalnut " ) + std::string( W_VERSION );
setWindowTitle( QApplication::translate( "MainWindow", windowHeading.c_str(), 0, QApplication::UnicodeUTF8 ) );
setDockOptions( QMainWindow::AnimatedDocks | QMainWindow::AllowNestedDocks | QMainWindow::AllowTabbedDocks );
......@@ -703,7 +704,8 @@ void WMainWindow::openAboutDialog()
{
std::string filename( WPathHelper::getDocPath().file_string() + "/openwalnut-qt4/OpenWalnutAbout.html" );
std::string content = readFileIntoString( filename );
QMessageBox::about( this, "About OpenWalnut", content.c_str() );
std::string windowHeading = std::string( "About OpenWalnut " ) + std::string( W_VERSION );
QMessageBox::about( this, windowHeading.c_str(), content.c_str() );
}
void WMainWindow::openOpenWalnutHelpDialog()
......
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