summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-16 20:56:01 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-16 20:56:01 (GMT)
commitc855e4d0436a01792b540c7857e1a1997f4810d7 (patch)
tree4af96b1e682ed36543986d844d0430abedc10365 /src/value.cc
parent5edc8c57da6eb8bfb7725ac51c4b87edd950e847 (diff)
parent5628a18f6a0fcf2dd170cac31e386f1ad4f97c0c (diff)
Merge branch 'noqt' of ssh://ssh.github.com:443/openscad/openscad into noqt_tweaks
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..ae810a2 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(boostfs_uncomplete(filename, fs::current_path())));
return stream;
}
contact: Jan Huwald // Impressum