diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-07 01:48:57 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-07 01:48:57 (GMT) |
commit | ee5b6b882b3302687a10262a4ce049034cb9172c (patch) | |
tree | 77f6ff9b81fe59106c166d5d69e0daa562ac712d /src/import.cc | |
parent | 5c502e51d4a1ffac56e898e619247d52269d14bd (diff) | |
parent | a6e4b95f1a8f1597625aa34010e84dc90dc644da (diff) |
Merge branch 'master' into tests-buildsystem
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 << ", " |