summaryrefslogtreecommitdiffstats
path: root/src/designer/src/designer/newform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/designer/newform.cpp')
-rw-r--r--src/designer/src/designer/newform.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/designer/src/designer/newform.cpp b/src/designer/src/designer/newform.cpp
index b4eb49554..797e60149 100644
--- a/src/designer/src/designer/newform.cpp
+++ b/src/designer/src/designer/newform.cpp
@@ -59,9 +59,9 @@ NewForm::NewForm(QDesignerWorkbench *workbench, QWidget *parentWidget, const QSt
m_newFormWidget(QDesignerNewFormWidgetInterface::createNewFormWidget(workbench->core())),
m_workbench(workbench),
m_chkShowOnStartup(new QCheckBox(tr("Show this Dialog on Startup"))),
- m_createButton(new QPushButton(QApplication::translate("NewForm", "C&reate", 0))),
- m_recentButton(new QPushButton(QApplication::translate("NewForm", "Recent", 0))),
- m_buttonBox(0)
+ m_createButton(new QPushButton(QApplication::translate("NewForm", "C&reate", nullptr))),
+ m_recentButton(new QPushButton(QApplication::translate("NewForm", "Recent", nullptr))),
+ m_buttonBox(nullptr)
{
setWindowTitle(tr("New Form"));
QDesignerSettings settings(m_workbench->core());
@@ -94,10 +94,10 @@ QDialogButtonBox *NewForm::createButtonBox()
{
// Dialog buttons with 'recent files'
QDialogButtonBox *buttonBox = new QDialogButtonBox;
- buttonBox->addButton(QApplication::translate("NewForm", "&Close", 0),
+ buttonBox->addButton(QApplication::translate("NewForm", "&Close", nullptr),
QDialogButtonBox::RejectRole);
buttonBox->addButton(m_createButton, QDialogButtonBox::AcceptRole);
- buttonBox->addButton(QApplication::translate("NewForm", "&Open...", 0),
+ buttonBox->addButton(QApplication::translate("NewForm", "&Open...", nullptr),
QDialogButtonBox::ActionRole);
buttonBox->addButton(m_recentButton, QDialogButtonBox::ActionRole);
QDesignerActions *da = m_workbench->actionManager();