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/dxflinextrude.cc | |
parent | f13c1c6343c5f2404eefa9386f7a5f11b8e65cdb (diff) |
bugfix: Cache output for non-existing files should be 0.0
Diffstat (limited to 'src/dxflinextrude.cc')
-rw-r--r-- | src/dxflinextrude.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dxflinextrude.cc b/src/dxflinextrude.cc index 40ddbb7..bb4a7dd 100644 --- a/src/dxflinextrude.cc +++ b/src/dxflinextrude.cc @@ -150,11 +150,10 @@ std::string DxfLinearExtrudeNode::toString() const std::stringstream stream; QString text; - 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 << "\", " "height = " << std::dec << this->height << ", " "origin = [ " << this->origin_x << " " << this->origin_y << " ], " |