diff options
Diffstat (limited to 'src/focusedwidgets.cpp')
-rw-r--r-- | src/focusedwidgets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/focusedwidgets.cpp b/src/focusedwidgets.cpp index 9020f69..2ab28c7 100644 --- a/src/focusedwidgets.cpp +++ b/src/focusedwidgets.cpp @@ -117,7 +117,7 @@ void FocusedTextEdit::adaptClipboardText(TQClipboard::Mode mode) if ( (textFormat() == TQt::RichText) && (!clipboard->data(mode)->provides("application/x-qrichtext")) ) { TQString text = clipboard->text(mode); - if (text) { + if (!text.isEmpty()) { text = text.replace("\n", TQChar(0x2028)); clipboard->setText(text, mode); } |