summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-03-08 22:00:00 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-03-18 20:57:40 (GMT)
commit3204a2206aa617b41c6da5999c3b826057d274f3 (patch)
tree2dc4b6d3df48302889e3b868eaed9ea30d0b2b09 /src/plantuml.cpp
parent781c3ec1556b711c74fc0d6ebb343569eb1491ab (diff)
downloadDoxygen-3204a2206aa617b41c6da5999c3b826057d274f3.zip
Doxygen-3204a2206aa617b41c6da5999c3b826057d274f3.tar.gz
Doxygen-3204a2206aa617b41c6da5999c3b826057d274f3.tar.bz2
Refactoring: Replaced QFileInfo with FileInfo
- FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index 51debca..f8623ef 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -20,8 +20,7 @@
#include "doxygen.h"
#include "message.h"
#include "debug.h"
-
-#include <qfileinfo.h>
+#include "fileinfo.h"
QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QCString &fileName,const QCString &content,OutputFormat format)
{
@@ -128,7 +127,7 @@ PlantumlManager &PlantumlManager::instance()
PlantumlManager::PlantumlManager()
{
QCString outputFilename = Config_getString(OUTPUT_DIRECTORY) + "/" + CACHE_FILENAME;
- QFileInfo fi(outputFilename);
+ FileInfo fi(outputFilename.str());
if (fi.exists())
{
m_cachedPlantumlAllContent = fileToString(outputFilename);