Refactor code to use C++11 nullptr

This commit is contained in:
padertux
2018-01-08 22:58:42 +01:00
parent c2ee7e5ad8
commit d01f915b4a
201 changed files with 634 additions and 634 deletions

View File

@@ -46,10 +46,10 @@ TitleWidget::TitleWidget(QWidget *p)
: QWidget(p)
, pressed(false)
, underMouse(false)
, controls(0)
, controls(nullptr)
{
QGridLayout *layout=new QGridLayout(this);
QVBoxLayout *textLayout=new QVBoxLayout(0);
QVBoxLayout *textLayout=new QVBoxLayout(nullptr);
image=new QLabel(this);
mainText=new SqueezedTextLabel(this);
subText=new SqueezedTextLabel(this);