diff --git a/src/widgets/settingspages/PluginsPage.cpp b/src/widgets/settingspages/PluginsPage.cpp index 4b69f8407..5097203c6 100644 --- a/src/widgets/settingspages/PluginsPage.cpp +++ b/src/widgets/settingspages/PluginsPage.cpp @@ -39,7 +39,7 @@ PluginsPage::PluginsPage() auto plgroup = groupLayout.emplace(plugin->meta.name); auto pl = plgroup.setLayoutType(); auto *descrText = new QLabel(plugin->meta.description); - descrText->setTextFormat(Qt::TextFormat::MarkdownText); + //descrText->setTextFormat(Qt::TextFormat::MarkdownText); descrText->setWordWrap(true); descrText->setStyleSheet("color: #bbb"); pl->addRow(descrText); @@ -50,8 +50,8 @@ PluginsPage::PluginsPage() pl->addRow("Homepage", homepage); auto *reload = new QPushButton("Reload"); - QObject::connect(reload, &QPushButton::pressed, [=]() { - getApp()->plugins->reload(codename); + QObject::connect(reload, &QPushButton::pressed, [name = codename]() { + getApp()->plugins->reload(name); }); pl->addRow(reload); }