diff options
Diffstat (limited to 'src/shared/qtpropertybrowser/qteditorfactory.cpp')
-rw-r--r-- | src/shared/qtpropertybrowser/qteditorfactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/qtpropertybrowser/qteditorfactory.cpp b/src/shared/qtpropertybrowser/qteditorfactory.cpp index dfb3e92a5..31211333e 100644 --- a/src/shared/qtpropertybrowser/qteditorfactory.cpp +++ b/src/shared/qtpropertybrowser/qteditorfactory.cpp @@ -922,7 +922,7 @@ void QtLineEditFactoryPrivate::slotRegExpChanged(QtProperty *property, for (QLineEdit *editor : it.value()) { editor->blockSignals(true); const QValidator *oldValidator = editor->validator(); - QValidator *newValidator = 0; + QValidator *newValidator = nullptr; if (regExp.isValid()) { newValidator = new QRegularExpressionValidator(regExp, editor); } @@ -1553,7 +1553,7 @@ bool QtCharEdit::eventFilter(QObject *o, QEvent *e) actionString = actionString.remove(pos, actionString.length() - pos); action->setText(actionString); } - QAction *actionBefore = 0; + QAction *actionBefore = nullptr; if (actions.count() > 0) actionBefore = actions[0]; QAction *clearAction = new QAction(tr("Clear Char"), menu); @@ -2081,7 +2081,7 @@ void QtCursorEditorFactory::connectPropertyManager(QtCursorPropertyManager *mana QWidget *QtCursorEditorFactory::createEditor(QtCursorPropertyManager *manager, QtProperty *property, QWidget *parent) { - QtProperty *enumProp = 0; + QtProperty *enumProp = nullptr; if (d_ptr->m_propertyToEnum.contains(property)) { enumProp = d_ptr->m_propertyToEnum[property]; } else { |