From acbe8331a904f1cce87ea825caf126819f19dcd1 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 5 Jun 2018 10:53:30 -0400 Subject: Get the panels/plugins updating appropriately when the settings file changes. --- .../src-desktop/src-widgets/plugins/ClockPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/plugins') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/plugins/ClockPlugin.h b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/plugins/ClockPlugin.h index d028de8f..95b6c1cb 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/plugins/ClockPlugin.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/plugins/ClockPlugin.h @@ -88,7 +88,7 @@ protected: if(tmp!=textRows){ textRows = tmp; if(textRows<1){ textRows = 1; } - if(button->isVisible() && !button->text().isEmpty()){ QTimer::singleShot(0, this, SLOT(updateTime()) ); } + if(!button->text().isEmpty()){ QTimer::singleShot(30, this, SLOT(updateTime()) ); } } } }; -- cgit