fix minor '=' vs '==' bug.

This commit is contained in:
suter_a 2020-12-26 11:54:18 +01:00
parent a9a61f5518
commit 1f18b4531a

View File

@ -1314,7 +1314,7 @@ void PmuppGui::addVar()
// call variable dialog // call variable dialog
if (fVarDlg != nullptr) { if (fVarDlg != nullptr) {
delete fVarDlg; delete fVarDlg;
fVarDlg == nullptr; fVarDlg = nullptr;
} }
fVarDlg = new PVarDialog(collection_list, fDarkTheme); fVarDlg = new PVarDialog(collection_list, fDarkTheme);
connect(fVarDlg, SIGNAL(check_request(QString,QVector<int>)), this, SLOT(check(QString,QVector<int>))); connect(fVarDlg, SIGNAL(check_request(QString,QVector<int>)), this, SLOT(check(QString,QVector<int>)));