Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
342:3824e8bb91eb | 343:435b6f0b6eeb |
---|---|
2443 m_changeRemoteRepoAct->setStatusTip(tr("Change the default remote repository for pull and push actions")); | 2443 m_changeRemoteRepoAct->setStatusTip(tr("Change the default remote repository for pull and push actions")); |
2444 | 2444 |
2445 m_settingsAct = new QAction(QIcon(":/images/settings.png"), tr("Settings..."), this); | 2445 m_settingsAct = new QAction(QIcon(":/images/settings.png"), tr("Settings..."), this); |
2446 m_settingsAct -> setStatusTip(tr("View and change application settings")); | 2446 m_settingsAct -> setStatusTip(tr("View and change application settings")); |
2447 | 2447 |
2448 #ifdef Q_OS_WIN32 | |
2449 m_exitAct = new QAction(QIcon(":/images/exit.png"), tr("Exit"), this); | |
2450 #else | |
2448 m_exitAct = new QAction(QIcon(":/images/exit.png"), tr("Quit"), this); | 2451 m_exitAct = new QAction(QIcon(":/images/exit.png"), tr("Quit"), this); |
2452 #endif | |
2449 m_exitAct->setShortcuts(QKeySequence::Quit); | 2453 m_exitAct->setShortcuts(QKeySequence::Quit); |
2450 m_exitAct->setStatusTip(tr("Quit EasyMercurial")); | 2454 m_exitAct->setStatusTip(tr("Quit EasyMercurial")); |
2451 | 2455 |
2452 //Repository actions | 2456 //Repository actions |
2453 m_hgRefreshAct = new QAction(QIcon(":/images/status.png"), tr("Refresh"), this); | 2457 m_hgRefreshAct = new QAction(QIcon(":/images/status.png"), tr("Refresh"), this); |