Skip to content

Commit

Permalink
doxygen & indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 9, 2012
1 parent dbd586b commit 09f3bd2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/main.cpp
Expand Up @@ -511,15 +511,15 @@ int main( int argc, char *argv[] )
QSettings::setDefaultFormat( QSettings::IniFormat );
QString path = optionpath.isEmpty() ? configpath : optionpath;
QSettings::setPath( QSettings::IniFormat, QSettings::UserScope, path );
customizationsettings = new QSettings(QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION");
customizationsettings = new QSettings( QSettings::IniFormat, QSettings::UserScope, "QuantumGIS", "QGISCUSTOMIZATION" );
}
else
{
customizationsettings = new QSettings( "QuantumGIS", "QGISCUSTOMIZATION" );
}

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

#ifdef Q_OS_MACX
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgscustomization.cpp
Expand Up @@ -809,7 +809,7 @@ void QgsCustomization::customizeWidget( QString thePath, QWidget * theWidget, QS
//QgsDebugMsg( QString( "p = %1 on = %2" ).arg( p ).arg( on ) );
if ( on )
{
QgsCustomization::customizeWidget( myPath, w, settings);
QgsCustomization::customizeWidget( myPath, w, settings );
}
else
{
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsrenderchecker.h
Expand Up @@ -82,6 +82,7 @@ class CORE_EXPORT QgsRenderChecker
* are allowed to be different from the control image. In some cases
* rendering may be non-deterministic. This parameter allows you to account
* for that by providing a tolerance.
* @param theRenderedImageFile to optionally override the output filename
* @note: make sure to call setExpectedImage and setRenderedImage first.
*/
bool compareImages( QString theTestName, unsigned int theMismatchCount = 0, QString theRenderedImageFile = "" );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
Expand Up @@ -57,7 +57,7 @@ QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(
mColorInterpolationComboBox->addItem( tr( "Discrete" ), 0 );
mColorInterpolationComboBox->addItem( tr( "Linear" ), 1 );
mColorInterpolationComboBox->addItem( tr( "Exact" ), 2 );
mColorInterpolationComboBox->setCurrentIndex(1);
mColorInterpolationComboBox->setCurrentIndex( 1 );
mClassificationModeComboBox->addItem( tr( "Equal interval" ) );
//quantile would be nice as well

Expand Down

0 comments on commit 09f3bd2

Please sign in to comment.