diff --git a/examples/filesystem/01_minimal/minimal.cpp b/examples/filesystem/01_minimal/minimal.cpp index 4e339d5..ccbd999 100644 --- a/examples/filesystem/01_minimal/minimal.cpp +++ b/examples/filesystem/01_minimal/minimal.cpp @@ -10,7 +10,7 @@ int main( int argc, char** argv ) MF::Paths paths; paths.updatePaths(); - paths.makePaths(); + paths.makeDefaultDirectories(); paths.findConfigFile( "test" ); return( 0 ); diff --git a/src/myx/filesystem/paths.cpp b/src/myx/filesystem/paths.cpp index 3133f34..91afdf0 100644 --- a/src/myx/filesystem/paths.cpp +++ b/src/myx/filesystem/paths.cpp @@ -207,7 +207,7 @@ bool Paths::updatePaths() } // Paths::updatePaths -bool Paths::makePaths() +bool Paths::makeDefaultDirectories() { bool status = true; diff --git a/src/myx/filesystem/paths.hpp b/src/myx/filesystem/paths.hpp index 675c960..38fd721 100644 --- a/src/myx/filesystem/paths.hpp +++ b/src/myx/filesystem/paths.hpp @@ -47,7 +47,8 @@ public: void setConfigFilePath( const QFileInfo& configFilePath ); bool updatePaths(); - bool makePaths(); + bool makeDefaultDirectories(); + QString findConfigFile( const QString& defaultConfigFile = "" ); }; // class Paths