summaryrefslogtreecommitdiff
path: root/src/dxfdata.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 22:03:16 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 22:03:16 (GMT)
commit821c7df1fe34006ebeb0150cc0a166563d583f25 (patch)
tree3b1891b404583cea57ee4f7f4e17c625f671bfff /src/dxfdata.cc
parenta5b03ddcf9026dbc60881572419f096ba9ecadab (diff)
Extracted handle_dep() to separate source file
Diffstat (limited to 'src/dxfdata.cc')
-rw-r--r--src/dxfdata.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc
index 0caa0f1..3e224e3 100644
--- a/src/dxfdata.cc
+++ b/src/dxfdata.cc
@@ -28,7 +28,8 @@
#include "dxfdata.h"
#include "grid.h"
#include "printutils.h"
-#include "openscad.h" // handle_dep()
+#include "handle_dep.h"
+#include "openscad.h" // get_fragments_from_r()
#include <QFile>
#include <QTextStream>
@@ -55,7 +56,7 @@ DxfData::DxfData(double fn, double fs, double fa,
const std::string &filename, const std::string &layername,
double xorigin, double yorigin, double scale)
{
- handle_dep(QString::fromStdString(filename)); // Register ourselves as a dependency
+ handle_dep(filename); // Register ourselves as a dependency
QFile f(QString::fromStdString(filename));
if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) {
contact: Jan Huwald // Impressum