Commit ac5d8437 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by Tobias Hunger

Git: fix compilation

comparison between QDialogButtonBox and QMessageBox enum values.
Introduced here: 34f75be3

Change-Id: I19b50e5a4da643e7917346af19170022ffe61f34
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent a99d529a
......@@ -995,7 +995,7 @@ QStringList GitClient::setupCheckoutArguments(const QString &workingDirectory,
ICore::settings(), "Git.CreateLocalBranchOnCheckout" /*setting*/,
QDialogButtonBox::Yes | QDialogButtonBox::No /*buttons*/,
QDialogButtonBox::No /*default button*/,
QDialogButtonBox::No /*button to save*/) == QMessageBox::No) {
QDialogButtonBox::No /*button to save*/) == QDialogButtonBox::No) {
return arguments;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment