Skip to content
Permalink
Browse files

indentation update

  • Loading branch information
jef-n committed Dec 4, 2015
1 parent f210fc7 commit 60ad6887c2ddf355257e9c6cdbf9f3c45c1156c3
@@ -71,7 +71,7 @@ def processAlgorithm(self, progress):
commands.append('/shape:' + unicode(self.getParameterValue(self.SHAPE)))
dtm = self.getParameterValue(self.DTM)
if dtm:
commands.append('/dtm:'+unicode(dtm))
commands.append('/dtm:' + unicode(dtm))
height = self.getParameterValue(self.HEIGHT)
if height:
commands.append('/height')
@@ -100,7 +100,7 @@ void QgsConfigureShortcutsDialog::populateActions()
void QgsConfigureShortcutsDialog::saveShortcuts()
{
QString fileName = QFileDialog::getSaveFileName( this, tr( "Save shortcuts" ), QDir::homePath(),
tr( "XML file" ) + " (*.xml);;" + tr( "All files" ) + " (*)" );
tr( "XML file" ) + " (*.xml);;" + tr( "All files" ) + " (*)" );

if ( fileName.isEmpty() )
return;
@@ -153,7 +153,7 @@ void QgsConfigureShortcutsDialog::saveShortcuts()
void QgsConfigureShortcutsDialog::loadShortcuts()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load shortcuts" ), QDir::homePath(),
tr( "XML file" ) + " (*.xml);;" + tr( "All files" ) + " (*)" );
tr( "XML file" ) + " (*.xml);;" + tr( "All files" ) + " (*)" );

if ( fileName.isEmpty() )
{
@@ -1280,7 +1280,7 @@ bool QgsPostgresProvider::determinePrimaryKey()

mPrimaryKeyType = ( mPrimaryKeyAttrs.size() == 1 && isInt ) ? pktInt : pktFidMap;

if ( ( mightBeNull || isParentTable ) && !mUseEstimatedMetadata && !uniqueData( primaryKey ) )
if (( mightBeNull || isParentTable ) && !mUseEstimatedMetadata && !uniqueData( primaryKey ) )
{
QgsMessageLog::logMessage( tr( "Ignoring key candidate because of NULL values or inheritance" ), tr( "PostGIS" ) );
mPrimaryKeyType = pktUnknown;

0 comments on commit 60ad688

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