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

List:       kde-commits
Subject:    [trojita] src/Gui: GUI: prefer plaintext rendering by default
From:       Jan_Kundrát <jkt () flaska ! net>
Date:       2013-01-31 20:43:04
Message-ID: 20130131204304.E15D6A60C8 () git ! kde ! org
[Download RAW message or body]

Git commit 3d7391bc9e247b34e53cd549cd5d825e330ba98d by Jan Kundrát.
Committed on 31/01/2013 at 21:41.
Pushed by jkt into branch 'master'.

GUI: prefer plaintext rendering by default

This is because I like the quote collapsing too much to ignore it and one cannot
really do the same with 3rd-party HTML.

M  +1    -1    src/Gui/PartWidgetFactory.cpp

http://commits.kde.org/trojita/3d7391bc9e247b34e53cd549cd5d825e330ba98d

diff --git a/src/Gui/PartWidgetFactory.cpp b/src/Gui/PartWidgetFactory.cpp
index 01fe437..e21f241 100644
--- a/src/Gui/PartWidgetFactory.cpp
+++ b/src/Gui/PartWidgetFactory.cpp
@@ -62,7 +62,7 @@ QWidget *PartWidgetFactory::create(const QModelIndex &partIndex, \
                int recursionDe
                              "the top-most thousand items or so are shown."), 0);
     }
 
-    bool userPrefersPlaintext = \
QSettings().value(Common::SettingsNames::guiPreferPlaintextRendering).toBool(); +    \
bool userPrefersPlaintext = \
QSettings().value(Common::SettingsNames::guiPreferPlaintextRendering, \
QVariant(true)).toBool();  
     QString mimeType = partIndex.data(Imap::Mailbox::RolePartMimeType).toString();
     if (mimeType.startsWith(QLatin1String("multipart/"))) {


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

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