Parcourir la source

Add .gitignore

Rémi Synave il y a 1 an
Parent
commit
a5bf231efb
2 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 3 0
      .gitignore
  2. 4 3
      WorkArea/WorkArea.cpp

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
+**/*.o
+**/*.stash
+**/images

+ 4 - 3
WorkArea/WorkArea.cpp

@@ -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 ()