summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-03-12 05:14:58 (GMT)
committerMarius Kintel <marius@kintel.net>2013-03-12 05:14:58 (GMT)
commitdccc039211eebe3f69c935557bd56abae323c26f (patch)
treefb39b939619db2bb258de78cf38012919762fbbc /src/value.cc
parent6b8a5e266ca1725e35e76aef0caa639fe77fdc48 (diff)
Got rid of remaining Qt dependencies. The test framework should now be Qt-free
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/value.cc b/src/value.cc
index f14f826..bec803a 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -34,12 +34,12 @@
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/format.hpp>
-
-#include <QtCore/QDir>
+#include "boost-utils.h"
+#include "boosty.h"
std::ostream &operator<<(std::ostream &stream, const Filename &filename)
{
- stream << QuotedString(QDir::current().relativeFilePath(QString::fromLocal8Bit(filename.c_str())).toLocal8Bit().constData());
+ stream << QuotedString(boosty::stringy(relativePath(filename, fs::current_path())));
return stream;
}
contact: Jan Huwald // Impressum