Index: sources/storage/FileHandler.cpp =================================================================== diff -u -r80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803 -r1ed15b374613c81883e697cad25e55399e7abc17 --- sources/storage/FileHandler.cpp (.../FileHandler.cpp) (revision 80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803) +++ sources/storage/FileHandler.cpp (.../FileHandler.cpp) (revision 1ed15b374613c81883e697cad25e55399e7abc17) @@ -439,6 +439,17 @@ // disabled coco end /*! + * \brief FileHandler::totalDirSize + * \details Determine the total space of the passed path + * \param vPath - the path to determine size of + * \return The size of the path passed. + */ +qint64 FileHandler::totalDirSize(const QString &vPath) +{ + return totalSize(find(vPath, QStringList() << "*.*")); +} + +/*! * \brief FileHandler::subFolders * \details Look for the sub-folder in folder vFolder. * \param vFolder - the folder to search for the sub folders.