Commit 61ffd16b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix build error because we're now using QSharedPointer for presets

parent 43e188ab
......@@ -541,7 +541,7 @@ void KisStrokeBenchmark::benchmarkRandomLines(QString presetFileName)
void KisStrokeBenchmark::benchmarkRectangle(QString presetFileName)
{
KisPaintOpPresetSP preset = new KisPaintOpPreset(m_dataPath + presetFileName);
KisPaintOpPresetSP preset(new KisPaintOpPreset(m_dataPath + presetFileName));
bool loadedOk = preset->load();
if (!loadedOk){
dbgKrita << "The preset was not loaded correctly. Done.";
......
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