@@ -235,7 +235,7 @@ void SettingsDialog::accept() {
235
235
m_pSettings->m_sInyokaConstArea = sValue ;
236
236
}
237
237
238
- QMessageBox::information (nullptr , this ->windowTitle (),
238
+ QMessageBox::information (this , this ->windowTitle (),
239
239
tr (" The editor has to be restarted for "
240
240
" applying the changes." ));
241
241
}
@@ -281,7 +281,7 @@ void SettingsDialog::changedCommunity(int nIndex) {
281
281
" /community.conf" );
282
282
283
283
if (!communityFile.open (QIODevice::ReadOnly | QIODevice::Text)) {
284
- QMessageBox::critical (nullptr , tr (" Error" ),
284
+ QMessageBox::critical (this , tr (" Error" ),
285
285
tr (" Could not open/find community file!" ));
286
286
qCritical () << " Could not open/find community file:"
287
287
<< communityFile.fileName ();
@@ -303,7 +303,7 @@ void SettingsDialog::changedCommunity(int nIndex) {
303
303
if (sUrl .isEmpty () || sLoginUrl .isEmpty () || sConstArea .isEmpty () ||
304
304
sCookieDomain .isEmpty ()) {
305
305
qWarning () << " Community.conf not complete!" ;
306
- QMessageBox::warning (nullptr , tr (" Warning" ),
306
+ QMessageBox::warning (this , tr (" Warning" ),
307
307
tr (" Community.conf not complete!" ));
308
308
}
309
309
}
0 commit comments