]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/iconmanager.cpp
Use fast image transformation like Gwenview. This increases the performance of applyI...
[dolphin.git] / src / iconmanager.cpp
index cde3ab59e0495423e9d3fd01b4fb06c93ae52583..82c35ea7d60b931f39c648940c9f039b70d6f5d7 100644 (file)
@@ -489,7 +489,7 @@ bool IconManager::applyImageFrame(QPixmap& icon)
 void IconManager::limitToSize(QPixmap& icon, const QSize& maxSize)
 {
     if ((icon.width() > maxSize.width()) || (icon.height() > maxSize.height())) {
-        icon = icon.scaled(maxSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);
+        icon = icon.scaled(maxSize, Qt::KeepAspectRatio, Qt::FastTransformation);
     }
 }