diff options
author | Marius Kintel <marius@kintel.net> | 2011-04-29 15:06:46 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-04-29 15:06:46 (GMT) |
commit | a0a20d20146758c341c0110b667bf7da3d1e6b34 (patch) | |
tree | d6a8124a2ce1016c90f15cae7e5ff9e4e43a1755 /src/dxfrotextrude.cc | |
parent | f13c1c6343c5f2404eefa9386f7a5f11b8e65cdb (diff) |
bugfix: Cache output for non-existing files should be 0.0
Diffstat (limited to 'src/dxfrotextrude.cc')
-rw-r--r-- | src/dxfrotextrude.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc index 7b89676..06892aa 100644 --- a/src/dxfrotextrude.cc +++ b/src/dxfrotextrude.cc @@ -125,10 +125,9 @@ std::string DxfRotateExtrudeNode::toString() const { std::stringstream stream; - QFileInfo fileInfo(this->filename); stream << this->name() << "(" "file = \"" << this->filename << "\", " - "cache = \"" << std::hex << (int)fileInfo.lastModified().toTime_t() << "." << (int)fileInfo.size() << "\", " + "cache = \"" << QFileInfo(this->filename) << "\", " "layer = \"" << this->layername << "\", " "origin = [ " << std::dec << this->origin_x << " " << this->origin_y << " ], " "scale = " << this->scale << ", " |