use unique pointer

allow_new_sellers
Martin Brodbeck 4 years ago
parent 5ebb7b3e67
commit a490dafb02
  1. 6
      src/gui/kima2.cpp

@ -1,5 +1,7 @@
#include "mainwindow.h"
#include <memory>
#include <QApplication>
@ -9,8 +11,8 @@ int main(int argc, char* argv[])
QApplication kimaApp{argc, argv};
MainWindow mainWin{};
mainWin.show();
auto mainWin = std::make_unique<MainWindow>();
mainWin->show();
return kimaApp.exec();
}

Loading…
Cancel
Save