[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/kphotoalbum/ImportExport
From:       Jesper Pedersen <blackie () blackie ! dk>
Date:       2008-07-06 22:02:28
Message-ID: 1215381748.086317.12539.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 828897 by blackie:

Now the "inverse video" works in the import dialog again when showing mapping between \
category in file and in DB.

 M  +2 -2      ImportMatcher.cpp  


--- trunk/extragear/graphics/kphotoalbum/ImportExport/ImportMatcher.cpp \
#828896:828897 @@ -49,15 +49,15 @@
 
     QPalette pal = label->palette();
     QColor col = pal.color( QPalette::Background);
+    label->setAutoFillBackground(true);
     pal.setColor( QPalette::Background, pal.color( QPalette::Foreground ) );
     pal.setColor( QPalette::Foreground, col );
     label->setPalette( pal );
     label->setAlignment( Qt::AlignCenter );
 
     label = new QLabel( i18n("Key in your database"), grid );
+    label->setAutoFillBackground(true);
     gridLay->addWidget( label, 0, 1 );
-    pal.setColor( QPalette::Background, pal.color( QPalette::Foreground ) );
-    pal.setColor( QPalette::Foreground, col );
     label->setPalette( pal );
     label->setAlignment( Qt::AlignCenter );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic