fix: Remove files and folder watches

This commit is contained in:
Petr Mironychev
2026-06-29 15:11:40 +02:00
parent d66c714a28
commit 86135d0c13
9 changed files with 23 additions and 111 deletions

View File

@@ -86,6 +86,13 @@ public:
headerRow->setSpacing(8);
headerRow->addWidget(m_titleLabel, 1);
auto *reloadButton = new QPushButton(tr("Reload from disk"), this);
connect(reloadButton, &QPushButton::clicked, this, [this] {
if (m_factory)
m_factory->reload();
});
headerRow->addWidget(reloadButton);
auto *headerSep = new QFrame(this);
headerSep->setFrameShape(QFrame::HLine);
headerSep->setFrameShadow(QFrame::Sunken);