summaryrefslogtreecommitdiff
path: root/quacker/lexicondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quacker/lexicondialog.cpp')
-rw-r--r--quacker/lexicondialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/lexicondialog.cpp b/quacker/lexicondialog.cpp
index 4f6d35d..88e86b1 100644
--- a/quacker/lexicondialog.cpp
+++ b/quacker/lexicondialog.cpp
@@ -218,7 +218,7 @@ void LexiconDialog::addWordsFromTextFile(const QString &textFile)
return;
QTextStream stream(&file);
- stream.setCodec("UTF-8");
+ SET_QTEXTSTREAM_TO_UTF8(stream);
QString word;
while (!stream.atEnd())
{