summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagergui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/packagemanagergui.cpp')
-rw-r--r--src/libs/installer/packagemanagergui.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagergui.cpp b/src/libs/installer/packagemanagergui.cpp
index 339079b10..4a454e781 100644
--- a/src/libs/installer/packagemanagergui.cpp
+++ b/src/libs/installer/packagemanagergui.cpp
@@ -1238,10 +1238,13 @@ QPixmap PackageManagerPage::bannerPixmap() const
/*!
Returns the logo pixmap specified in the \c <Logo> element of the package information file.
+ If @2x image is provided, returns that instead for high DPI displays.
*/
QPixmap PackageManagerPage::logoPixmap() const
{
- return QPixmap(m_core->value(QLatin1String("LogoPixmap")));
+ QString logoPixmap = m_core->value(QLatin1String("LogoPixmap"));
+ QInstaller::replaceHighDpiImage(logoPixmap);
+ return QPixmap(logoPixmap);
}
/*!