diff --git a/src/tiles/customtile.cpp b/src/tiles/customtile.cpp index a8220184ab..9eba81ab34 100644 --- a/src/tiles/customtile.cpp +++ b/src/tiles/customtile.cpp @@ -320,7 +320,7 @@ void CustomTile::remove() } } - delete this; + deleteLater(); // not using "delete this" because QQmlEngine will crash } CustomTile *CustomTile::nextTileAt(Qt::Edge edge) const