Commit bc08dfb0 authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

Fix double delete properly.

Qt is not yet ready for smart pointers.
parent da89b2cd
...@@ -78,7 +78,7 @@ int main(int argc, char ** argv) ...@@ -78,7 +78,7 @@ int main(int argc, char ** argv)
KDBusService service; KDBusService service;
auto app = std::make_shared<KShisen::App>(); auto app = new KShisen::App();
app->show(); app->show();
return a.exec(); return a.exec();
} }
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