summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4d3dfc91..555e58ae 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1284,7 +1284,7 @@ void MainWindow::populateEncodingMenu()
QList<int> mibs = QTextCodec::availableMibs();
Q_FOREACH (const int &mib, mibs)
{
- QString codec = QLatin1String(QTextCodec::codecForMib(mib)->name());
+ QString codec = QL1S(QTextCodec::codecForMib(mib)->name());
codecs.append(codec);
}
codecs.sort();