Skip to content
Browse files

Fix indentation in src/app/qgisapp.cpp

The indentation error was added in
but went unnoticed in the Travis builds after merge in master.

However my working branch rebased on top of master detected the issue whereas
I never modified this file...

There must be some shortcoming or subtelty in the working of scripts/
  • Loading branch information
rouault committed Mar 29, 2016
1 parent f7c28f6 commit 8c3155fbe8ed4a269185765f8ba2e573ebb6eac3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -7746,7 +7746,7 @@ void QgisApp::removeLayer()

bool promptConfirmation = QSettings().value( "qgis/askToDeleteLayers", true ).toBool();
bool shiftHeld = QApplication::queryKeyboardModifiers().testFlag(Qt::ShiftModifier);
bool shiftHeld = QApplication::queryKeyboardModifiers().testFlag( Qt::ShiftModifier );
//display a warning
if ( !shiftHeld && promptConfirmation && QMessageBox::warning( this, tr( "Remove layers and groups" ), tr( "Remove %n legend entries?", "number of legend items to remove", selectedNodes.count() ), QMessageBox::Ok | QMessageBox::Cancel ) == QMessageBox::Cancel )

0 comments on commit 8c3155f

Please sign in to comment.