Commit d4134e42 authored by Marco Martin's avatar Marco Martin
Browse files

correctly replace spaces with nothing

don't replace spaces with the character 0x0, but with an actual empty
string to remove it
parent 9219d4dd
......@@ -657,7 +657,7 @@ void SensorFaceController::loadPreset(const QString &preset)
void SensorFaceController::savePreset()
{
QString pluginName = QStringLiteral("org.kde.plasma.systemmonitor.") + title().simplified().replace(QLatin1Char(' '), QChar()).toLower();
QString pluginName = QStringLiteral("org.kde.plasma.systemmonitor.") + title().simplified().replace(QLatin1Char(' '), QStringLiteral("")).toLower();
int suffix = 0;
auto presetPackage = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Plasma/Applet"));
......
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