|
@@ -38,8 +38,8 @@ WorkArea::WorkArea (int screenSizeX, int screenSizeY, const std::string & imageF
|
|
|
indexPointClicked = -1;
|
|
|
loadImage(imageFilename);
|
|
|
this->readOnly = readOnly;
|
|
|
-
|
|
|
- QFile file(QString::fromStdString (SLFilename));
|
|
|
+ loadSL(SLFilename);
|
|
|
+ /*QFile file(QString::fromStdString (SLFilename));
|
|
|
if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
return;
|
|
|
|
|
@@ -50,7 +50,8 @@ WorkArea::WorkArea (int screenSizeX, int screenSizeY, const std::string & imageF
|
|
|
liste_points << new QPoint(parts[0].toInt(), parts[1].toInt());
|
|
|
liste_points << new QPoint(parts[2].toInt(), parts[3].toInt());
|
|
|
}
|
|
|
- file.close();
|
|
|
+ file.close();*/
|
|
|
+
|
|
|
}
|
|
|
|
|
|
WorkArea::~WorkArea ()
|