src/dialogs.cc

changeset 714
b4a990f59a5e
parent 662
2f1bd9112408
child 739
152b33a6d51b
--- a/src/dialogs.cc	Thu Apr 17 20:48:31 2014 +0300
+++ b/src/dialogs.cc	Thu Apr 17 20:50:43 2014 +0300
@@ -240,7 +240,7 @@
 // =============================================================================
 void LDrawPathDialog::slot_tryConfigure()
 {
-	if (LDPaths::tryConfigure (filename()) == false)
+	if (not LDPaths::tryConfigure (filename()))
 	{
 		ui->status->setText (format ("<span style=\"color:#700; \">%1</span>", LDPaths::getError()));
 		okButton()->setEnabled (false);
@@ -328,7 +328,7 @@
 {
 	QString path = QFileDialog::getOpenFileName (null, "", "", g_extProgPathFilter);
 
-	if (!path.isEmpty())
+	if (not path.isEmpty())
 		ui->m_path->setText (path);
 }
 

mercurial