Skip to content

Commit 09f3bd2

Browse files
committed
doxygen & indentation fixes
1 parent dbd586b commit 09f3bd2

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/app/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,15 +511,15 @@ int main( int argc, char *argv[] )
511511
QSettings::setDefaultFormat( QSettings::IniFormat );
512512
QString path = optionpath.isEmpty() ? configpath : optionpath;
513513
QSettings::setPath( QSettings::IniFormat, QSettings::UserScope, path );
514-
customizationsettings = new QSettings(QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION");
514+
customizationsettings = new QSettings( QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION" );
515515
}
516516
else
517517
{
518518
customizationsettings = new QSettings( "QuantumGIS", "QGISCUSTOMIZATION" );
519519
}
520520

521521
// Load and set possible default customization, must be done afterQgsApplication init and QSettings ( QCoreApplication ) init
522-
QgsCustomization::instance()->setSettings( customizationsettings );
522+
QgsCustomization::instance()->setSettings( customizationsettings );
523523
QgsCustomization::instance()->loadDefault();
524524

525525
#ifdef Q_OS_MACX

src/app/qgscustomization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ void QgsCustomization::customizeWidget( QString thePath, QWidget * theWidget, QS
809809
//QgsDebugMsg( QString( "p = %1 on = %2" ).arg( p ).arg( on ) );
810810
if ( on )
811811
{
812-
QgsCustomization::customizeWidget( myPath, w, settings);
812+
QgsCustomization::customizeWidget( myPath, w, settings );
813813
}
814814
else
815815
{

src/core/qgsrenderchecker.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class CORE_EXPORT QgsRenderChecker
8282
* are allowed to be different from the control image. In some cases
8383
* rendering may be non-deterministic. This parameter allows you to account
8484
* for that by providing a tolerance.
85+
* @param theRenderedImageFile to optionally override the output filename
8586
* @note: make sure to call setExpectedImage and setRenderedImage first.
8687
*/
8788
bool compareImages( QString theTestName, unsigned int theMismatchCount = 0, QString theRenderedImageFile = "" );

src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(
5757
mColorInterpolationComboBox->addItem( tr( "Discrete" ), 0 );
5858
mColorInterpolationComboBox->addItem( tr( "Linear" ), 1 );
5959
mColorInterpolationComboBox->addItem( tr( "Exact" ), 2 );
60-
mColorInterpolationComboBox->setCurrentIndex(1);
60+
mColorInterpolationComboBox->setCurrentIndex( 1 );
6161
mClassificationModeComboBox->addItem( tr( "Equal interval" ) );
6262
//quantile would be nice as well
6363

0 commit comments

Comments
 (0)