diff --git a/src/cyan.cpp b/src/cyan.cpp index 0105168..7fb153b 100644 --- a/src/cyan.cpp +++ b/src/cyan.cpp @@ -768,7 +768,7 @@ void Cyan::getColorProfiles(FXX::ColorSpace colorspace, } settings.endGroup(); - QMap profiles = genProfiles(colorspace); + QMultiMap profiles = genProfiles(colorspace); if (profiles.size() > 0) { box->clear(); QIcon itemIcon(":/cyan-wheel.png"); @@ -921,9 +921,9 @@ void Cyan::imageClear() void Cyan::resetImageZoom() { - QMatrix matrix; - matrix.scale(1.0, 1.0); - view->setMatrix(matrix); + QTransform transform; + transform.scale(1.0, 1.0); + view->setTransform(transform); } void Cyan::setImage(QByteArray image) @@ -1045,7 +1045,7 @@ void Cyan::getConvertProfiles() if (inputColorSpace == FXX::UnknownColorSpace) { return; } ignoreConvertAction = true; - QMap inputProfiles, outputProfiles; + QMultiMap inputProfiles, outputProfiles; switch(inputColorSpace) { case FXX::RGBColorSpace: