mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cleanup: remove all Q_NULLPTR instances
It expands to nullptr anyway and is inconsitent with the rest of the code. Let's remove this anachronism. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
30746e5d3f
commit
30230dce10
4 changed files with 6 additions and 6 deletions
|
@ -24,8 +24,8 @@ MapWidget *MapWidget::m_instance = NULL;
|
|||
|
||||
MapWidget::MapWidget(QWidget *parent) : QQuickWidget(parent)
|
||||
{
|
||||
m_rootItem = Q_NULLPTR;
|
||||
m_mapHelper = Q_NULLPTR;
|
||||
m_rootItem = nullptr;
|
||||
m_mapHelper = nullptr;
|
||||
setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
connect(this, &QQuickWidget::statusChanged, this, &MapWidget::doneLoading);
|
||||
setSource(urlMapWidget);
|
||||
|
|
|
@ -69,8 +69,8 @@ public:
|
|||
|
||||
private:
|
||||
Ui::PrintOptions ui;
|
||||
struct print_options *printOptions = Q_NULLPTR;
|
||||
struct template_options *templateOptions = Q_NULLPTR;
|
||||
struct print_options *printOptions = nullptr;
|
||||
struct template_options *templateOptions = nullptr;
|
||||
bool hasSetupSlots;
|
||||
QString lastImportExportTemplate;
|
||||
void setupTemplates();
|
||||
|
|
|
@ -259,7 +259,7 @@ void TemplateLayout::writeTemplate(QString template_name, QString grantlee_templ
|
|||
|
||||
YearInfo::YearInfo()
|
||||
{
|
||||
year = Q_NULLPTR;
|
||||
year = nullptr;
|
||||
}
|
||||
|
||||
YearInfo::~YearInfo()
|
||||
|
|
|
@ -31,7 +31,7 @@ TankItem::TankItem(QObject *parent) :
|
|||
trimixGradient.setColorAt(1.0, red);
|
||||
trimix = trimixGradient;
|
||||
air = blue;
|
||||
hAxis = Q_NULLPTR;
|
||||
hAxis = nullptr;
|
||||
memset(&diveCylinderStore, 0, sizeof(diveCylinderStore));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue