Skip to content

Commit

Permalink
Fixed bug in showSettings output and noted that providerPath is new t…
Browse files Browse the repository at this point in the history
…o 2.0 api
  • Loading branch information
timlinux committed Nov 19, 2011
1 parent 33ae3f9 commit e49bdbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/core/qgsapplication.cpp
Expand Up @@ -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 )
Expand Down
4 changes: 3 additions & 1 deletion src/core/qgsapplication.h
Expand Up @@ -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.
Expand Down

0 comments on commit e49bdbc

Please sign in to comment.