Fix TRUE/true in cafAboutDialog

This commit is contained in:
Gaute Lindkvist
2018-11-27 13:05:48 +01:00
parent 6cee9eb9e6
commit b097c8c9b7

View File

@@ -199,7 +199,7 @@ void AboutDialog::create()
QLabel* appVersionLabel = new QLabel(this); QLabel* appVersionLabel = new QLabel(this);
QFont appVersionFont(appVersionLabel->font()); QFont appVersionFont(appVersionLabel->font());
appVersionFont.setPointSize(8); appVersionFont.setPointSize(8);
appVersionFont.setBold(TRUE); appVersionFont.setBold(true);
appVersionLabel->setFont(appVersionFont); appVersionLabel->setFont(appVersionFont);
appVersionLabel->setText(appVer); appVersionLabel->setText(appVer);
appInfoLayout->addWidget(appVersionLabel); appInfoLayout->addWidget(appVersionLabel);
@@ -211,7 +211,7 @@ void AboutDialog::create()
QLabel* appCopyrightLabel = new QLabel(this); QLabel* appCopyrightLabel = new QLabel(this);
QFont appCopyrightFont(appCopyrightLabel->font()); QFont appCopyrightFont(appCopyrightLabel->font());
appCopyrightFont.setPointSize(8); appCopyrightFont.setPointSize(8);
appCopyrightFont.setBold(TRUE); appCopyrightFont.setBold(true);
appCopyrightLabel->setFont(appCopyrightFont); appCopyrightLabel->setFont(appCopyrightFont);
appCopyrightLabel->setText(m_appCopyright); appCopyrightLabel->setText(m_appCopyright);
appInfoLayout->addWidget(appCopyrightLabel); appInfoLayout->addWidget(appCopyrightLabel);
@@ -282,8 +282,8 @@ void AboutDialog::create()
bottomLayout->addItem(spacer2); bottomLayout->addItem(spacer2);
QPushButton* buttonOk = new QPushButton("&OK", this); QPushButton* buttonOk = new QPushButton("&OK", this);
buttonOk->setAutoDefault(TRUE); buttonOk->setAutoDefault(true);
buttonOk->setDefault(TRUE); buttonOk->setDefault(true);
buttonOk->setFocus(); buttonOk->setFocus();
connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()) ); connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()) );
bottomLayout->addWidget(buttonOk); bottomLayout->addWidget(buttonOk);