diff options
author | Slávek Banko <[email protected]> | 2020-07-07 17:44:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-07 17:48:54 +0200 |
commit | bb945af0aca2de81585218d5f0453e15282e1c09 (patch) | |
tree | cd238aa9175d83f71e59d54805b2ee19d47b6aa1 /domino/domino.cpp | |
parent | fabe2f724432dc6e7f00878df2ec965cd0ab03a6 (diff) | |
download | tde-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 <[email protected]>
Diffstat (limited to 'domino/domino.cpp')
-rw-r--r-- | domino/domino.cpp | 2 |
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(); |