changeset 1309:13e17e61f898

Tool button on Mac (something has gone very wrong with the appearance of the push button in latest builds)
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 26 Jun 2018 14:37:36 +0100
parents e7c9650e74a7
children cb51d061cc25 be935f9b2ae6
files widgets/PropertyBox.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Tue Jun 26 14:36:56 2018 +0100
+++ b/widgets/PropertyBox.cpp	Tue Jun 26 14:37:36 2018 +0100
@@ -306,7 +306,11 @@
             cerr << "PropertyBox: creating new checkbox" << endl;
 #endif
             if (iconName != "") {
+#ifdef Q_OS_MAC
+                button = new NotifyingToolButton();
+#else
                 button = new NotifyingPushButton();
+#endif
                 button->setCheckable(true);
                 QIcon icon(IconLoader().load(iconName));
                 button->setIcon(icon);