Browse Source

Suppress function unused warning

adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
1c9696b68e
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/preferences.cpp
  2. 1
      src/base/preferences.h

2
src/base/preferences.cpp

@ -61,12 +61,14 @@ @@ -61,12 +61,14 @@
namespace
{
#ifdef Q_OS_WIN
QString makeProfileID(const QString &profilePath, const QString &profileName)
{
return profilePath.isEmpty()
? profileName
: profileName + QLatin1Char('@') + Utils::Fs::toValidFileSystemName(profilePath, false, {});
}
#endif
}
Preferences *Preferences::m_instance = nullptr;

1
src/base/preferences.h

@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
#pragma once
#include <QtContainerFwd>
#include <QtGlobal>
#include <QVariant>
#include "base/utils/net.h"

Loading…
Cancel
Save