diff options
author | jkobus <jaroslaw.kobus@theqtcompany.com> | 2014-12-18 14:59:52 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-05-07 13:05:57 +0000 |
commit | f0b20942b879adb1e42a741843db9871cc614582 (patch) | |
tree | a78e9c954de90d757092e9b363024f87efa182bb /src/libs/installer/componentmodel.cpp | |
parent | 48c08cc958da2fb093d6b93871ae112c0395824d (diff) |
Enable feature live preview of dependencies
This feature is available after setting
InstallActionColumnVisible property to true
inside config.xml
Change-Id: I5071d5c5c4562100a96530c581de01760ca0d2d5
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/componentmodel.cpp')
-rw-r--r-- | src/libs/installer/componentmodel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/componentmodel.cpp b/src/libs/installer/componentmodel.cpp index 0c249e8e6..682bc02c5 100644 --- a/src/libs/installer/componentmodel.cpp +++ b/src/libs/installer/componentmodel.cpp @@ -83,6 +83,10 @@ class IconCache { public: IconCache() { + m_icons.insert(ComponentModelHelper::Install, QIcon(QLatin1String(":/install.png"))); + m_icons.insert(ComponentModelHelper::Uninstall, QIcon(QLatin1String(":/uninstall.png"))); + m_icons.insert(ComponentModelHelper::KeepInstalled, QIcon(QLatin1String(":/keepinstalled.png"))); + m_icons.insert(ComponentModelHelper::KeepUninstalled, QIcon(QLatin1String(":/keepuninstalled.png"))); } QIcon icon(ComponentModelHelper::InstallAction action) const { |