comparison src/main.cpp @ 462:110d1fefa073

Omit icons from menus on Mac
author Chris Cannam
date Thu, 30 Jun 2011 09:43:29 +0100
parents b9c153e00e84
children 75ebcacd3f75
comparison
equal deleted inserted replaced
461:33a1c7c9d9d9 462:110d1fefa073
29 29
30 QApplication::setOrganizationName("easymercurial"); 30 QApplication::setOrganizationName("easymercurial");
31 QApplication::setOrganizationDomain("easymercurial.org"); 31 QApplication::setOrganizationDomain("easymercurial.org");
32 QApplication::setApplicationName(QApplication::tr("EasyMercurial")); 32 QApplication::setApplicationName(QApplication::tr("EasyMercurial"));
33 33
34 #ifdef Q_OS_MAC
35 // Mac doesn't align menu labels when icons are shown: result is messy
36 app.setAttribute(Qt::AA_DontShowIconsInMenus);
37 #endif
38
34 // Lose our controlling terminal (so we can provide a new pty to 39 // Lose our controlling terminal (so we can provide a new pty to
35 // capture password requests) 40 // capture password requests)
36 loseControllingTerminal(); 41 loseControllingTerminal();
37 42
38 installSignalHandlers(); 43 installSignalHandlers();