[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [konversation/1.4] src/viewer: Disable showing line and paragraph indicators.
From:       Juan Carlos Torres <carlosdgtorres () gmail ! com>
Date:       2012-07-31 7:35:38
Message-ID: 20120731073538.50779A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit d4c315975f0ac01baa5f433c75598296f6a0afa5 by Juan Carlos Torres.
Committed on 31/07/2012 at 09:19.
Pushed by jucato into branch '1.4'.

Disable showing line and paragraph indicators.

Do not show line and paragraph indicators in the Paste Editor
dialog due to QTBUG:24531.

M  +1    -1    src/viewer/pasteeditor.cpp

http://commits.kde.org/konversation/d4c315975f0ac01baa5f433c75598296f6a0afa5

diff --git a/src/viewer/pasteeditor.cpp b/src/viewer/pasteeditor.cpp
index 4a12e2b..d2cf21f 100644
--- a/src/viewer/pasteeditor.cpp
+++ b/src/viewer/pasteeditor.cpp
@@ -38,7 +38,7 @@ PasteEditor::PasteEditor(QWidget* parent)
     m_textEditor->enableFindReplace(true);
 
     QTextOption options = m_textEditor->document()->defaultTextOption();
-    options.setFlags(options.flags() | QTextOption::ShowTabsAndSpaces | \
QTextOption::ShowLineAndParagraphSeparators); +    options.setFlags(options.flags() | \
QTextOption::ShowTabsAndSpaces);  \
m_textEditor->document()->setDefaultTextOption(options);  m_textEditor->setFocus();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic