diff options
Diffstat (limited to 'framework/src/domain/mime/partmodel.cpp')
-rw-r--r-- | framework/src/domain/mime/partmodel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index 4c53906d..4583e2a6 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp | |||
@@ -23,7 +23,6 @@ | |||
23 | #include "htmlutils.h" | 23 | #include "htmlutils.h" |
24 | 24 | ||
25 | #include <QDebug> | 25 | #include <QDebug> |
26 | #include <QMimeDatabase> | ||
27 | #include <QTextDocument> | 26 | #include <QTextDocument> |
28 | 27 | ||
29 | #include <gpgme++/key.h> | 28 | #include <gpgme++/key.h> |
@@ -225,6 +224,10 @@ QVariant PartModel::data(const QModelIndex &index, int role) const | |||
225 | if (text.contains("@media")) { | 224 | if (text.contains("@media")) { |
226 | return true; | 225 | return true; |
227 | } | 226 | } |
227 | //auto css properties are not supported e.g margin-left: auto; | ||
228 | if (text.contains(": auto;")) { | ||
229 | return true; | ||
230 | } | ||
228 | return false; | 231 | return false; |
229 | } else { | 232 | } else { |
230 | return false; | 233 | return false; |