Indentation fix

This commit is contained in:
Nyall Dawson 2016-04-09 10:55:27 +10:00
parent 1b4bd47076
commit 965cef2b2e
2 changed files with 1 additions and 2 deletions

View File

@ -220,7 +220,6 @@ def _executeAlgorithm(alg):
progress.close() progress.close()
def getMenu(name, parent): def getMenu(name, parent):
menus = [c for c in parent.children() if isinstance(c, QMenu) and c.title() == name] menus = [c for c in parent.children() if isinstance(c, QMenu) and c.title() == name]
if menus: if menus:

View File

@ -102,7 +102,7 @@ QList< QgsComposerItem*> QgsComposerItemComboBox::exceptedItemList() const
{ {
return mProxyModel->exceptedItemList(); return mProxyModel->exceptedItemList();
} }
QgsComposerItem* QgsComposerItemComboBox::item( int index ) const QgsComposerItem* QgsComposerItemComboBox::item( int index ) const
{ {
const QModelIndex proxyIndex = mProxyModel->index( index, 0 ); const QModelIndex proxyIndex = mProxyModel->index( index, 0 );
if ( !proxyIndex.isValid() ) if ( !proxyIndex.isValid() )