diff options
author | Marius Kintel <marius@kintel.net> | 2013-03-12 05:14:58 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-03-12 05:14:58 (GMT) |
commit | dccc039211eebe3f69c935557bd56abae323c26f (patch) | |
tree | fb39b939619db2bb258de78cf38012919762fbbc /src/value.cc | |
parent | 6b8a5e266ca1725e35e76aef0caa639fe77fdc48 (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.cc | 6 |
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; } |