[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform] eceaf96: Enable the shortcut for the Copy action.
From: Mantia Andras <amantia () kde ! org>
Date: 2010-07-05 22:45:02
Message-ID: 201007052245.o65Mj2la027895 () kore ! kollide ! net
[Download RAW message or body]
commit eceaf9677c40b6853c73e3a0638129544150b87e
Author: Mantia Andras <amantia@kde.org>
Date: Tue Jul 6 01:58:36 2010 +0300
Enable the shortcut for the Copy action.
diff --git a/plugins/standardoutputview/outputwidget.cpp b/plugins/standardoutputview/outputwidget.cpp
index 7b8e37a..be82b5b 100644
--- a/plugins/standardoutputview/outputwidget.cpp
+++ b/plugins/standardoutputview/outputwidget.cpp
@@ -89,7 +89,8 @@ OutputWidget::OutputWidget(QWidget* parent, ToolViewData* tvdata)
addAction(separator);
copyAction = KStandardAction::copy(this);
- copyAction->setShortcut(KShortcut());
+// copyAction->setShortcut(KShortcut());
+ copyAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
connect(copyAction, SIGNAL(triggered()), SLOT(copySelection()));
addAction(copyAction);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic