Skip to content

Commit

Permalink
Merge pull request #2952 from rouault/fix_indentation
Browse files Browse the repository at this point in the history
Fix indentation in src/app/qgisapp.cpp
  • Loading branch information
nyalldawson committed Mar 29, 2016
2 parents 4ece916 + 8c3155f commit 692a17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 692a17e

Please sign in to comment.