Skip to content
Permalink
Browse files

Merge pull request #2952 from rouault/fix_indentation

Fix indentation in src/app/qgisapp.cpp
  • Loading branch information
nyalldawson committed Mar 29, 2016
2 parents 4ece916 + 8c3155f commit 692a17efd6d86df33e294ca00b3104affdae55f2
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 692a17e

Please sign in to comment.
You can’t perform that action at this time.