Commit a8c8cba5 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix percent encoding of kate session file names not being taken into account

BUG: 436871
parent ffdaf7bd
Pipeline #195825 passed with stage
in 2 minutes and 37 seconds
......@@ -17,6 +17,7 @@
#include <QDir>
#include <QFileInfo>
#include <QStandardPaths>
#include <QUrl>
ProfilesModel::ProfilesModel(QObject *parent)
: QAbstractListModel(parent)
......@@ -53,7 +54,7 @@ void ProfilesModel::loadProfiles()
for (const auto &profilePath : std::as_const(profilesPaths)) {
QFileInfo info(profilePath);
const QString profileIdentifier = info.baseName();
const QString profileIdentifier = QUrl::fromPercentEncoding(info.baseName().toLatin1());
QString name = profileIdentifier;
QString iconName;
if (m_appName == QLatin1String("konsole")) {
......
Supports Markdown
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