aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/class_multilineedit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp
index c6ca43950..e924d5e7b 100644
--- a/src/modules/objects/class_multilineedit.cpp
+++ b/src/modules/objects/class_multilineedit.cpp
@@ -1139,8 +1139,7 @@ bool KviKvsObject_textedit::functionloadFile(KviKvsObjectFunctionCall * c)
QTextStream ts( &file );
QString txt = ts.readAll();
- //if ( !Q3StyleSheet::mightBeRichText( txt ) )
- //txt = Q3StyleSheet::convertFromPlainText( txt, Q3StyleSheetItem::WhiteSpacePre );
+ //settext tries to understand if the text is html or plain
((QTextEdit *)widget())->setText( txt );
file.close();