diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-03-16 20:56:01 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-03-16 20:56:01 (GMT) |
commit | c855e4d0436a01792b540c7857e1a1997f4810d7 (patch) | |
tree | 4af96b1e682ed36543986d844d0430abedc10365 /src/value.cc | |
parent | 5edc8c57da6eb8bfb7725ac51c4b87edd950e847 (diff) | |
parent | 5628a18f6a0fcf2dd170cac31e386f1ad4f97c0c (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.cc | 6 |
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; } |