mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
indentation update
This commit is contained in:
parent
f210fc7ee8
commit
60ad6887c2
@ -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')
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user