Skip to content

Commit 150a64e

Browse files
committed
fix warnings and translation strings
1 parent 68da18c commit 150a64e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

python/plugins/processing/algs/grass7/Grass7Utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,14 @@ def checkGrassIsInstalled(ignorePreviousState=False):
472472
'it before running GRASS GIS 7 algorithms.')
473473
if Grass7Utils.command is None:
474474
return Grass7Utils.tr(
475-
'GRASS GIS 7 binary {0} can\t be found on this system from a shell.'
475+
'GRASS GIS 7 binary {0} can\'t be found on this system from a shell. '
476476
'Please install it or configure your PATH {1} environment variable.'.format(
477477
'(grass.bat)' if isWindows() else '(grass.sh)',
478478
'or OSGEO4W_ROOT' if isWindows() else ''))
479479
# GNU/Linux
480480
else:
481481
return Grass7Utils.tr(
482-
'GRASS 7 can\'t be found on this system from a shell.'
482+
'GRASS 7 can\'t be found on this system from a shell. '
483483
'Please install it or configure your PATH environment variable.')
484484

485485
@staticmethod

src/app/qgsattributesformproperties.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,6 @@ QTreeWidgetItem *QgsAttributesFormProperties::loadAttributeEditorTreeItem( QgsAt
451451

452452
void QgsAttributesFormProperties::onAttributeSelectionChanged()
453453
{
454-
bool isAddPossible = false;
455-
if ( mFormLayoutTree->selectedItems().count() == 1 && !mAvailableWidgetsTree->selectedItems().isEmpty() )
456-
if ( mFormLayoutTree->selectedItems()[0]->data( 0, DnDTreeRole ).value<DnDTreeItemData>().type() == DnDTreeItemData::Container )
457-
isAddPossible = true;
458-
459454
storeAttributeTypeDialog();
460455
storeAttributeRelationEdit();
461456

0 commit comments

Comments
 (0)