Commit ae10790f authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Use QLatin1String to make Krazy happy.

svn path=/trunk/KDE/kdeutils/ark/; revision=976905
parent d50bfc0f
......@@ -29,6 +29,7 @@
#include <QMimeData>
#include <QDir>
#include <QtDBus/QtDBus>
#include <QLatin1String>
#include <QPersistentModelIndex>
#include <KDebug>
......@@ -722,7 +723,7 @@ void ArchiveModel::newEntry(const ArchiveEntry& receivedEntry, InsertBehaviour b
//#194241: Filenames such as "./file" should be displayed as "file"
QString entryFileName( entry[FileName].toString() );
if (entryFileName.startsWith("./")) {
if (entryFileName.startsWith(QLatin1String("./"))) {
if (entryFileName == "./") // Stop here, this would create an empty entry
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment