Commit 66cb21a508f115a7a83592dc36f66949912933d6

Authored by Josh Klontz
1 parent a6db81c8

fixed linux compile errors

openbr/plugins/gallery.cpp
... ... @@ -773,11 +773,11 @@ class xmlGallery : public FileGallery
773 773  
774 774 if (pToken == QXmlStreamReader::StartElement)
775 775 {
776   - // get boudning box properties as attributes, just going to assume this all works
777   - qreal x = reader.attributes().value("x").toDouble();
778   - qreal y = reader.attributes().value("y").toDouble();
779   - qreal width = reader.attributes().value("width").toDouble();
780   - qreal height = reader.attributes().value("height").toDouble();
  776 + // get bounding box properties as attributes, just going to assume this all works
  777 + qreal x = reader.attributes().value("x").string()->toDouble();
  778 + qreal y = reader.attributes().value("y").string()->toDouble();
  779 + qreal width = reader.attributes().value("width").string()->toDouble();
  780 + qreal height = reader.attributes().value("height").string()->toDouble();
781 781 rects += QRectF(x, y, width, height);
782 782 }
783 783 }
... ...
openbr/universal_template.cpp
1 1 #include <QFile>
  2 +#include <QMutex>
  3 +#include <QMutexLocker>
2 4 #include <cstdlib>
3 5 #include <cstring>
4 6  
... ...