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

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2008-11-30 18:47:51
Message-ID: 1228070871.671769.21496.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 890972 by ppenz:

revert last patch: KFileItem::getTooltipText() has been patched to provide already a correct font color

 M  +1 -4      kformattedballoontipdelegate.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/kformattedballoontipdelegate.cpp #890971:890972
@@ -78,11 +78,8 @@
         x += iconSize.width() + Border;
     }
 
-    const QColor textColor = option->palette.color(QPalette::ToolTipText); 
-    QString text = "<font color=\"" + textColor.name() + "\">" + item->text() + "</font>";
-    
     QTextDocument doc;
-    doc.setHtml(text);
+    doc.setHtml(item->text());
     QPixmap bitmap(doc.size().toSize());
     bitmap.fill(Qt::transparent);
     QPainter p(&bitmap);
[prev in list] [next in list] [prev in thread] [next in thread] 

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