forked from qt-creator/qt-creator
Git: fix compilation
comparison between QDialogButtonBox and QMessageBox enum values.
Introduced here: 34f75be322
Change-Id: I19b50e5a4da643e7917346af19170022ffe61f34
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
a99d529a93
commit
ac5d84372a
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user