diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-07 01:37:44 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-07 01:37:44 (GMT) |
commit | aa94d42d2c6647341b1d374d3f1a7216aede0d1c (patch) | |
tree | 7088ed8a3f29e35650f34e2a409796bf58bde5b4 /src/import.cc | |
parent | e38928aa9b17af5c84c6c46154b0f7abdce8b259 (diff) |
Don't dump timestamp of included files, this wasn't really used anywhere
Diffstat (limited to 'src/import.cc')
-rw-r--r-- | src/import.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/import.cc b/src/import.cc index 880823d..230cab2 100644 --- a/src/import.cc +++ b/src/import.cc @@ -43,7 +43,6 @@ #include <QRegExp> #include <QStringList> #include <sys/types.h> -#include <sys/stat.h> #include <fstream> #include <sstream> #include <assert.h> @@ -228,13 +227,8 @@ std::string ImportNode::toString() const { std::stringstream stream; - struct stat st; - memset(&st, 0, sizeof(struct stat)); - stat(this->filename.c_str(), &st); - stream << this->name(); stream << "(file = \"" << this->filename << "\", " - "cache = \"" << std::hex << (int)st.st_mtime << "." << (int)st.st_size << "\", " "layer = \"" << this->layername << "\", " "origin = [" << std::dec << this->origin_x << ", " << this->origin_y << "], " "scale = " << this->scale << ", " |