UBZ file import-export: MAC OS fix

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent d98ceb6cff
commit 05fc799d64
  1. 2
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -1896,7 +1896,7 @@ void UBSvgSubsetAdaptor::UBSvgSubsetReader::graphicsItemFromSvg(QGraphicsItem* g
{ {
if (!svgX.isNull() && !svgY.isNull()) if (!svgX.isNull() && !svgY.isNull())
{ {
#ifndef Q_WS_X11 #ifdef Q_WS_WIN
gItem->setPos(svgX.toString().toFloat(), svgY.toString().toFloat()); gItem->setPos(svgX.toString().toFloat(), svgY.toString().toFloat());
#endif #endif
} }

Loading…
Cancel
Save