--- a/src/dialogs.cc Sun Jul 13 20:28:52 2014 +0300 +++ b/src/dialogs.cc Sun Jul 13 20:40:24 2014 +0300 @@ -154,7 +154,7 @@ void OverlayDialog::slot_dimensionsChanged() { - bool enable = (ui->width->value() != 0) || (ui->height->value() != 0); + bool enable = (ui->width->value() != 0) or (ui->height->value() != 0); ui->buttonBox->button (QDialogButtonBox::Ok)->setEnabled (enable); }