From 2ddf0a555fc848930de8b0f7b237bbd7f2a028ca Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 03 Nov 2002 11:08:07 +0000 Subject: Nice to see more kde dudes here! A patch from jowenn to make Opie compile with gcc3 again No default arguments! Some namespace issues --- (limited to 'core/launcher/launcherview.cpp') diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index 2a051a6..95a1d4a 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp @@ -43,6 +43,7 @@ #include #include +#include class BgPixmap { @@ -90,7 +91,7 @@ public: void setBusyIndicatorType ( BusyIndicatorType t ) { busyType = t; } - QPixmap* busyPixmap() const { return (QPixmap*)&bpm[::abs(busystate)]; } + QPixmap* busyPixmap() const { return (QPixmap*)&bpm[abs(busystate)]; } QIconViewItem* busyItem() const { return bsy; } void setBigIcons( bool bi ) { bigIcns = bi; } @@ -131,7 +132,7 @@ public: count = img.numColors(); } int rc, gc, bc; - int bs = ::abs ( i * 10 ) + 25; + int bs = abs ( i * 10 ) + 25; colorGroup().highlight().rgb( &rc, &gc, &bc ); rc = rc * bs / 100; gc = gc * bs / 100; -- cgit v0.9.0.2