-rw-r--r-- | core/settings/button/buttonsettings.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/core/settings/button/buttonsettings.cpp b/core/settings/button/buttonsettings.cpp index d286369..779f6ef 100644 --- a/core/settings/button/buttonsettings.cpp +++ b/core/settings/button/buttonsettings.cpp | |||
@@ -27,2 +27,6 @@ | |||
27 | 27 | ||
28 | #include <opie2/odevice.h> | ||
29 | |||
30 | #include <qpe/applnk.h> | ||
31 | |||
28 | #include <qlayout.h> | 32 | #include <qlayout.h> |
@@ -31,5 +35,2 @@ | |||
31 | 35 | ||
32 | |||
33 | #include <opie2/odevice.h> | ||
34 | |||
35 | #include "buttonsettings.h" | 36 | #include "buttonsettings.h" |
@@ -155,3 +156,5 @@ void ButtonSettings::updateLabels ( ) | |||
155 | 156 | ||
156 | (*it)-> m_picon-> setPixmap ( cip. m_icon ); | 157 | QPixmap pic; |
158 | pic.convertFromImage( cip.m_icon.convertToImage().smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
159 | (*it)-> m_picon-> setPixmap ( pic ); | ||
157 | (*it)-> m_plabel-> setText ( cip. m_name ); | 160 | (*it)-> m_plabel-> setText ( cip. m_name ); |
@@ -160,3 +163,4 @@ void ButtonSettings::updateLabels ( ) | |||
160 | 163 | ||
161 | (*it)-> m_hicon-> setPixmap ( cih. m_icon ); | 164 | pic.convertFromImage( cih.m_icon.convertToImage().smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
165 | (*it)-> m_hicon-> setPixmap ( pic ); | ||
162 | (*it)-> m_hlabel-> setText ( cih. m_name ); | 166 | (*it)-> m_hlabel-> setText ( cih. m_name ); |