From 0ac1591f4727a5770dd25ae1decc9a141993862c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 16 May 2018 03:54:25 -0400 Subject: Get the Clock plugin all finished up. Now the text should format properly, and we have a single-instanced calendar menu popup for all clock plugins now. --- src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h index db8c4e54..a8dc8869 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/Plugin.h @@ -73,6 +73,7 @@ public: button = new QToolButton(this); button->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); button->setAutoRaise(true); + button->setPopupMode(QToolButton::InstantPopup); this->layout()->addWidget(button); } -- cgit