diff ui/textoverlaybutton.cpp @ 743:a467204a35f5

Rework User Interface. Certificate lists are now plain lists of widgets and no longer a ListWidget. Details are no longer shown extra but included in the list. List entries are somewhat larger accordingly.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 04 Jul 2014 16:15:59 +0200
parents c92eb6298dd7
children 57371f2e8dae
line wrap: on
line diff
--- a/ui/textoverlaybutton.cpp	Fri Jul 04 16:13:40 2014 +0200
+++ b/ui/textoverlaybutton.cpp	Fri Jul 04 16:15:59 2014 +0200
@@ -18,7 +18,7 @@
 void TextOverlayButton::paintEvent(QPaintEvent *e)
 {
     QToolButton::paintEvent(e);
-    if (mOverlay == "0") {
+    if (mOverlay == "0" || mOverlay.isEmpty()) {
         return;
     }
     QPainter painter(this);

http://wald.intevation.org/projects/trustbridge/