Q_NULLPTR -> nullptr

This commit is contained in:
Louis-Bertrand Varin 2017-10-25 10:15:37 -04:00
parent ecfbad0443
commit 055ba4f14e
2 changed files with 2 additions and 2 deletions

View File

@ -825,7 +825,7 @@ void DatabaseWidget::unlockDatabase(bool accepted)
return;
}
Database* db = Q_NULLPTR;
Database* db = nullptr;
if (sender() == m_unlockDatabaseDialog) {
db = m_unlockDatabaseDialog->database();
} else if (sender() == m_unlockDatabaseWidget) {

View File

@ -31,7 +31,7 @@ class UnlockDatabaseDialog : public QDialog
{
Q_OBJECT
public:
explicit UnlockDatabaseDialog(QWidget* parent = Q_NULLPTR);
explicit UnlockDatabaseDialog(QWidget* parent = nullptr);
void setDBFilename(const QString& filename);
void clearForms();
Database* database();