summaryrefslogtreecommitdiff
path: root/src/import.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/import.cc')
-rw-r--r--src/import.cc6
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 << ", "
contact: Jan Huwald // Impressum