summaryrefslogtreecommitdiffstats
path: root/src/msc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/msc.cpp')
-rw-r--r--src/msc.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/msc.cpp b/src/msc.cpp
index 29c9334..17a7a5d 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -1,12 +1,12 @@
/******************************************************************************
*
- *
+ *
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
@@ -25,8 +25,7 @@
#include "util.h"
#include "ftextstream.h"
#include "mscgen_api.h"
-
-#include <qdir.h>
+#include "dir.h"
static const int maxCmdLine = 40960;
@@ -160,7 +159,7 @@ static QCString getMscImageMapFromFile(const QCString& inFile, const QCString& o
QGString result;
FTextStream tmpout(&result);
convertMapFile(tmpout, outFile, relPath, context);
- QDir().remove(outFile);
+ Dir().remove(outFile.str());
return result.data();
}