Skip to content

Commit

Permalink
Fix wrong version check
Browse files Browse the repository at this point in the history
  • Loading branch information
francescmm committed Feb 8, 2025
1 parent d638cec commit bd4f38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aux_widgets/GitQlientUpdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void GitQlientUpdater::showInfoMessage()
"one is {%2}. You can read more about the new changes in the detailed description."))
.arg(QString::fromUtf8(VER), mLatestGitQlient),
QMessageBox::Ok | QMessageBox::Close, qobject_cast<QWidget *>(parent()));
#if QT_VERSION > QT_VERSION_CHECK(6, 2, 0)
#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
msgBox.addButton(tr("Go to GitHub"), QMessageBox::ButtonRole::YesRole);
#else
msgBox.setButtonText(QMessageBox::Ok, tr("Go to GitHub"));
Expand Down

0 comments on commit bd4f38c

Please sign in to comment.