forked from qt-creator/qt-creator
Get rid of lots of ifdef Q_OS_MAC for shortcuts.
Using a central enum now. Change-Id: I20d88c9a3f8c62cf33e4b89a3442269f71918b06 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -49,6 +49,12 @@ namespace Core {
|
||||
|
||||
class Context;
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
enum { UseMacShortcuts = 1 };
|
||||
#else
|
||||
enum { UseMacShortcuts = 0 };
|
||||
#endif
|
||||
|
||||
class CORE_EXPORT Command : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user