diff mainwindow.cpp @ 343:435b6f0b6eeb

Make Quit action say Exit on Windows
author Chris Cannam
date Tue, 15 Mar 2011 13:06:57 +0000
parents bb189827f6d1
children ccc55539e066
line wrap: on
line diff
--- a/mainwindow.cpp	Tue Mar 15 12:43:29 2011 +0000
+++ b/mainwindow.cpp	Tue Mar 15 13:06:57 2011 +0000
@@ -2445,7 +2445,11 @@
     m_settingsAct = new QAction(QIcon(":/images/settings.png"), tr("Settings..."), this);
     m_settingsAct -> setStatusTip(tr("View and change application settings"));
 
+#ifdef Q_OS_WIN32
+    m_exitAct = new QAction(QIcon(":/images/exit.png"), tr("Exit"), this);
+#else 
     m_exitAct = new QAction(QIcon(":/images/exit.png"), tr("Quit"), this);
+#endif
     m_exitAct->setShortcuts(QKeySequence::Quit);
     m_exitAct->setStatusTip(tr("Quit EasyMercurial"));