indentation update

This commit is contained in:
Juergen E. Fischer 2015-12-04 22:52:31 +01:00
parent f210fc7ee8
commit 60ad6887c2
3 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ class ClipData(FusionAlgorithm):
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')

View File

@ -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() )
{

View File

@ -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;