From fb355b8fe51b6299b717565f658fd7bf96c5e51d Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 9 Oct 2019 06:00:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=84=D1=83=D0=BD?= =?UTF-8?q?=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/filesystem/01_minimal/minimal.cpp | 2 +- src/myx/filesystem/paths.cpp | 2 +- src/myx/filesystem/paths.hpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) 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