From bb945af0aca2de81585218d5f0453e15282e1c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 7 Jul 2020 17:44:15 +0200 Subject: Removed unnecessary automatic conversions to char*. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- domino/domino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'domino/domino.cpp') 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(); -- cgit v1.2.1