some revisions

This commit is contained in:
pls.153 2022-05-17 21:45:40 +02:00
parent 5f8e81dfb6
commit 9a76e0d31c
10 changed files with 17 additions and 19 deletions

View file

@ -9,7 +9,7 @@ QT_BEGIN_NAMESPACE
QObject* ini() {
// any QObject inherited class will do
static QObject* cpp = nullptr;
if (!cpp) {
if (cpp == nullptr) {
cpp = new CPP;
// needed for QMessageBox