summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-23 12:20:13 (UTC)
committer mickeyl <mickeyl>2004-04-23 12:20:13 (UTC)
commit33666eb31ae6d35aa527cf7bf22c2c2e0dcd6824 (patch) (side-by-side diff)
treec05204f0ed7f02a522ded2aaf9121e1976612f15
parent85bfee8e542805ff7df67d9786bb291f7d2b34f3 (diff)
downloadopie-33666eb31ae6d35aa527cf7bf22c2c2e0dcd6824.zip
opie-33666eb31ae6d35aa527cf7bf22c2c2e0dcd6824.tar.gz
opie-33666eb31ae6d35aa527cf7bf22c2c2e0dcd6824.tar.bz2
gcc3.4 fixlet
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 6b9fe4d..f918767 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -679,5 +679,5 @@ void Appearance::editSchemeClicked ( )
- for ( QColorGroup::ColorRole role = (QColorGroup::ColorRole) 0; role != QColorGroup::NColorRoles; ((int) role )++ )
+ for ( int role = 0; role < (int) QColorGroup::NColorRoles; ++role )
{
- QColor col = item-> color ( role );
+ QColor col = item->color( static_cast<QColorGroup::ColorRole>( role ) );
@@ -685,3 +685,3 @@ void Appearance::editSchemeClicked ( )
{
- labels [cnt] = item-> label ( role );
+ labels[cnt] = item->label( static_cast<QColorGroup::ColorRole>( role ) );
colors [cnt] = col;
@@ -698,7 +698,7 @@ void Appearance::editSchemeClicked ( )
- for ( QColorGroup::ColorRole role = (QColorGroup::ColorRole) 0; role != QColorGroup::NColorRoles; ((int) role )++ )
+ for ( int role = 0; role < (int) QColorGroup::NColorRoles; ++role )
{
- if ( item-> color ( role ). isValid ( ))
+ if ( item->color( static_cast<QColorGroup::ColorRole>( role ) ).isValid() )
{
- citem-> setColor ( role, colors [cnt] );
+ citem->setColor( static_cast<QColorGroup::ColorRole>( role ), colors[cnt] );
cnt++;