Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Aug 28, 2024
1 parent 5623bd0 commit 4d6dc35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Quotient/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#pragma once

#include "quotient_export.h"
#include "util.h"

#include <QtCore/QSettings>
#include <QtCore/QUrl>
#include <QtCore/QVector>
#include <QtCore/QStringBuilder>

class QVariant;

Expand Down Expand Up @@ -102,8 +102,7 @@ class QUOTIENT_API SettingsGroup : public Settings {
Q_INVOKABLE void remove(const QString& key);

private:
// TODO: replace with QStringBuilder once we're on Qt 6.6
QString fullPath(QAnyStringView key) const { return groupPath + u'/' + key.toString(); }
QString fullPath(QAnyStringView key) const { return groupPath % u'/' % key.toString(); }

QString groupPath;
};
Expand Down

0 comments on commit 4d6dc35

Please sign in to comment.