# HG changeset patch # User Chris Cannam # Date 1300194417 0 # Node ID 435b6f0b6eeb44afb56bdd524ed218b2b9c0cf0f # Parent 3824e8bb91eba0447f368d5c37336cd4fe6a7634 Make Quit action say Exit on Windows diff -r 3824e8bb91eb -r 435b6f0b6eeb mainwindow.cpp --- 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"));