forked from qt-creator/qt-creator
Remove all QT_VERSION_CHECK
We only support Qt 5.6 now. Change-Id: If94864400545b057623e3af0743c55ea1e84e33b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
991498845a
commit
a6c17fc537
@@ -45,11 +45,6 @@ ImageViewerFactory::ImageViewerFactory(QObject *parent) :
|
||||
const QList<QByteArray> supportedMimeTypes = QImageReader::supportedMimeTypes();
|
||||
foreach (const QByteArray &format, supportedMimeTypes)
|
||||
addMimeType(format.constData());
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 5, 0)) && !QT_NO_SVGRENDERER
|
||||
// Workaround for https://codereview.qt-project.org/108693
|
||||
addMimeType("image/svg+xml");
|
||||
#endif
|
||||
}
|
||||
|
||||
Core::IEditor *ImageViewerFactory::createEditor()
|
||||
|
||||
Reference in New Issue
Block a user