summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/tabordereditor/tabordereditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/tabordereditor/tabordereditor.cpp')
-rw-r--r--src/designer/src/components/tabordereditor/tabordereditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/components/tabordereditor/tabordereditor.cpp b/src/designer/src/components/tabordereditor/tabordereditor.cpp
index 1353be5d1..bb8a01137 100644
--- a/src/designer/src/components/tabordereditor/tabordereditor.cpp
+++ b/src/designer/src/components/tabordereditor/tabordereditor.cpp
@@ -64,7 +64,7 @@ namespace qdesigner_internal {
TabOrderEditor::TabOrderEditor(QDesignerFormWindowInterface *form, QWidget *parent) :
QWidget(parent),
m_form_window(form),
- m_bg_widget(0),
+ m_bg_widget(nullptr),
m_undo_stack(form->commandHistory()),
m_font_metrics(font()),
m_current_index(0),
@@ -97,7 +97,7 @@ void TabOrderEditor::setBackground(QWidget *background)
void TabOrderEditor::updateBackground()
{
- if (m_bg_widget == 0) {
+ if (m_bg_widget == nullptr) {
// nothing to do
return;
}