compile even on my old crappy compiler.

(p.s. c-style casts suck ;-)

svn path=/trunk/kdebase/kwin/; revision=156058
This commit is contained in:
Aaron J. Seigo 2002-05-17 22:05:56 +00:00
parent 947ee7a09e
commit 4f5f20fadd

View file

@ -165,7 +165,7 @@ KeramikHandler::KeramikHandler()
// Flip the bitmaps horizontally in right-to-left mode
if ( QApplication::reverseLayout() ) {
for ( int i = 0; i < NumButtonDecos; i++ )
flip( (QPixmap*)buttonDecos[i] );
flip( static_cast<QPixmap*&>(buttonDecos[i]) );
}
readConfig();