-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp index 23720cd..a989e10 100644 --- a/core/apps/embeddedkonsole/TEWidget.cpp +++ b/core/apps/embeddedkonsole/TEWidget.cpp | |||
@@ -931,6 +931,7 @@ void TEWidget::emitSelection() | |||
931 | { | 931 | { |
932 | #ifndef QT_NO_CLIPBOARD | 932 | #ifndef QT_NO_CLIPBOARD |
933 | QString text = QApplication::clipboard()->text(); | 933 | QString text = QApplication::clipboard()->text(); |
934 | //qDebug(text); | ||
934 | if ( ! text.isNull() ) | 935 | if ( ! text.isNull() ) |
935 | { | 936 | { |
936 | text.replace(QRegExp("\n"), "\r"); | 937 | text.replace(QRegExp("\n"), "\r"); |
@@ -1067,6 +1068,9 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) | |||
1067 | else if( ke->state() == ControlButton && ke->key() == Key_V) { | 1068 | else if( ke->state() == ControlButton && ke->key() == Key_V) { |
1068 | pasteClipboard(); | 1069 | pasteClipboard(); |
1069 | } | 1070 | } |
1071 | else if( ke->state() == ControlButton && ke->key() == Key_C) { | ||
1072 | // pasteClipboard(); | ||
1073 | } | ||
1070 | else | 1074 | else |
1071 | emit keyPressedSignal(ke); // expose | 1075 | emit keyPressedSignal(ke); // expose |
1072 | ke->accept(); | 1076 | ke->accept(); |