Skip to content
Permalink
Browse files
Fixed bug in showSettings output and noted that providerPath is new t…
…o 2.0 api
  • Loading branch information
timlinux committed Nov 19, 2011
1 parent 33ae3f9 commit e49bdbc4b825c5aa7727d4ee11fdea5fc6247317
Showing with 10 additions and 8 deletions.
  1. +7 −7 src/core/qgsapplication.cpp
  2. +3 −1 src/core/qgsapplication.h
@@ -519,13 +519,13 @@ QString QgsApplication::showSettings()
QString myState = QString( "Application state:\n"
"Prefix : %1\n"
"Plugin Path : %2\n"
"Provider Path : %2\n"
"Package Data Path : %3\n"
"Active Theme Name : %4\n"
"Active Theme Path : %5\n"
"Default Theme Path : %6\n"
"SVG Search Paths : %7\n"
"User DB Path : %8\n" )
"Provider Path : %3\n"
"Package Data Path : %4\n"
"Active Theme Name : %5\n"
"Active Theme Path : %6\n"
"Default Theme Path : %7\n"
"SVG Search Paths : %8\n"
"User DB Path : %9\n" )
.arg( mPrefixPath )
.arg( mPluginPath )
.arg( mProviderPath )
@@ -133,7 +133,9 @@ class CORE_EXPORT QgsApplication: public QApplication
//! Returns the path to the application plugin directory.
static const QString pluginPath();

//! Returns the path to the application data providers directory.
/** Returns the path to the application data providers directory.
* @note Added in 2.0
*/
static const QString providerPath();

//! Returns the common root path of all application data directories.

0 comments on commit e49bdbc

Please sign in to comment.