Commit 8e875f7e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't call deleteLater on a smart pointer

Shouldn't be stored as is anywhere, anyway.
parent 792cb4f9
......@@ -170,8 +170,7 @@ private:
Q_ASSERT(code > 0);
Q_ASSERT(!server->isServerAvailable());
server->deleteLater();
server = nullptr;
server.clear();
// parse the JSON file
CMakeImportJsonJob* job = new CMakeImportJsonJob(project, this);
......
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