Commit 506b7449 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Also escape : when saving predefined image sizes

parent 51691800
......@@ -380,7 +380,7 @@ void KisCustomImageWidget::saveAsPredefined()
return;
}
QString saveLocation = KoResourcePaths::saveLocation("data", "predefined_image_sizes/", true);
QFile f(saveLocation + '/' + fileName.replace(' ', '_').replace('(', '_').replace(')', '_') + ".predefinedimage");
QFile f(saveLocation + '/' + fileName.replace(' ', '_').replace('(', '_').replace(')', '_').replace(':', '_') + ".predefinedimage");
f.open(QIODevice::WriteOnly | QIODevice::Truncate);
KisPropertiesConfigurationSP predefined = new KisPropertiesConfiguration();
......
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