From 8665d22f48dd7dff20c6100587e9e5e2ca3f0887 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Wed, 1 Feb 2023 01:44:32 +0100 Subject: [PATCH] Clean up PluginsPage some more --- src/widgets/settingspages/PluginsPage.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/widgets/settingspages/PluginsPage.cpp b/src/widgets/settingspages/PluginsPage.cpp index b62e254ef..880b0015d 100644 --- a/src/widgets/settingspages/PluginsPage.cpp +++ b/src/widgets/settingspages/PluginsPage.cpp @@ -48,11 +48,8 @@ PluginsPage::PluginsPage() auto *box = this->createCheckBox("Enable plugins", getSettings()->enableAnyPlugins); - QObject::connect(box, &QCheckBox::released, [this, box]() { - //using namespace std::chrono_literals; - //QTimer::singleShot(10000ms, [this]() { + QObject::connect(box, &QCheckBox::released, [this]() { this->rebuildContent(); - //}); }); groupLayout->addRow(box); }