summaryrefslogtreecommitdiffstats
path: root/domino
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-07 17:44:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-07 17:48:54 +0200
commitbb945af0aca2de81585218d5f0453e15282e1c09 (patch)
treecd238aa9175d83f71e59d54805b2ee19d47b6aa1 /domino
parentfabe2f724432dc6e7f00878df2ec965cd0ab03a6 (diff)
downloadtde-style-domino-bb945af0aca2de81585218d5f0453e15282e1c09.tar.gz
tde-style-domino-bb945af0aca2de81585218d5f0453e15282e1c09.zip
Removed unnecessary automatic conversions to char*.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'domino')
-rw-r--r--domino/domino.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/domino/domino.cpp b/domino/domino.cpp
index 85a076e..2fc0231 100644
--- a/domino/domino.cpp
+++ b/domino/domino.cpp
@@ -6510,7 +6510,7 @@ void DominoStyle::drawComplexControl(ComplexControl control,
painter.drawLine(fr.x()+4, fr.height(), fr.width()-4, fr.height());
}
- if(tb->popup() && (!tb->iconSet().isNull() || tb->text() || tb->pixmap())) {
+ if(tb->popup() && (!tb->iconSet().isNull() || !tb->text().isEmpty() || tb->pixmap())) {
TQString isEnabled = enabled ? "1" : "0";
TQPixmap* arrow;
TQColor color = tb->palette().active().buttonText();