From 6f58e5b798e368e6254cc837e489bd8fd8f066e9 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 8 Sep 2014 11:13:34 +0300 Subject: [PATCH] ClearCase: Remove superfluous #ifdefs Change-Id: I60b091acc3d3d4ee810341a4d9c6067783840f86 Reviewed-by: Orgad Shaneh --- src/plugins/clearcase/activityselector.cpp | 2 -- src/plugins/clearcase/clearcaseplugin.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/plugins/clearcase/activityselector.cpp b/src/plugins/clearcase/activityselector.cpp index c7dbf9d03e2..62b2ea10a74 100644 --- a/src/plugins/clearcase/activityselector.cpp +++ b/src/plugins/clearcase/activityselector.cpp @@ -67,9 +67,7 @@ ActivitySelector::ActivitySelector(QWidget *parent) : btnAdd->setText(addText); hboxLayout->addWidget(btnAdd); -#ifndef QT_NO_SHORTCUT lblActivity->setBuddy(m_cmbActivity); -#endif // QT_NO_SHORTCUT connect(btnAdd, SIGNAL(clicked()), this, SLOT(newActivity())); diff --git a/src/plugins/clearcase/clearcaseplugin.cpp b/src/plugins/clearcase/clearcaseplugin.cpp index a5cc881e720..91595985437 100644 --- a/src/plugins/clearcase/clearcaseplugin.cpp +++ b/src/plugins/clearcase/clearcaseplugin.cpp @@ -1742,9 +1742,7 @@ bool ClearCasePlugin::ccFileOp(const QString &workingDir, const QString &title, buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); verticalLayout->addWidget(buttonBox); -#ifndef QT_NO_SHORTCUT commentLabel->setBuddy(commentEdit); -#endif // QT_NO_SHORTCUT connect(buttonBox, SIGNAL(accepted()), &fileOpDlg, SLOT(accept())); connect(buttonBox, SIGNAL(rejected()), &fileOpDlg, SLOT(reject()));