diff options
Diffstat (limited to 'src/plugins/cpaster/cpasterplugin.cpp')
-rw-r--r-- | src/plugins/cpaster/cpasterplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp index 6af357ca805..f407e1b1000 100644 --- a/src/plugins/cpaster/cpasterplugin.cpp +++ b/src/plugins/cpaster/cpasterplugin.cpp @@ -100,7 +100,7 @@ bool CodepasterPlugin::initialize(const QStringList &arguments, QString *error_m m_postAction = new QAction(tr("Paste Snippet..."), this); command = actionManager->registerAction(m_postAction, "CodePaster.Post", globalcontext); -#ifndef Q_OS_MAC +#ifndef Q_WS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+C,Alt+P"))); #endif connect(m_postAction, SIGNAL(triggered()), this, SLOT(post())); @@ -108,7 +108,7 @@ bool CodepasterPlugin::initialize(const QStringList &arguments, QString *error_m m_fetchAction = new QAction(tr("Fetch Snippet..."), this); command = actionManager->registerAction(m_fetchAction, "CodePaster.Fetch", globalcontext); -#ifndef Q_OS_MAC +#ifndef Q_WS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+C,Alt+F"))); #endif connect(m_fetchAction, SIGNAL(triggered()), this, SLOT(fetch())); |