forked from qt-creator/qt-creator
CMake: Simplify
Change-Id: I3e5fd3aebf8b11037d99ff367826ff8f8f436045 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -88,7 +88,7 @@ void noAutoAdditionNotify(const QStringList &filePaths, const ProjectExplorer::P
|
||||
"\nCopy the path to the source files to the clipboard?"),
|
||||
"Remember My Choice", &checkValue, QDialogButtonBox::Yes | QDialogButtonBox::No,
|
||||
QDialogButtonBox::Yes);
|
||||
if (true == checkValue) {
|
||||
if (checkValue) {
|
||||
if (QDialogButtonBox::Yes == reply)
|
||||
settings->setAfterAddFileSetting(AfterAddFileAction::COPY_FILE_PATH);
|
||||
else if (QDialogButtonBox::No == reply)
|
||||
|
||||
Reference in New Issue
Block a user