diff options
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r-- | subsurface-desktop-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp index 60bf81c74..981a62a04 100644 --- a/subsurface-desktop-main.cpp +++ b/subsurface-desktop-main.cpp @@ -43,7 +43,7 @@ int main(int argc, char **argv) int i; bool no_filenames = true; QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true")); - new QApplication(argc, argv); + std::unique_ptr<QApplication> app(new QApplication(argc, argv)); QStringList files; QStringList importedFiles; QStringList arguments = QCoreApplication::arguments(); |