Acceptance run with screenshots and the MVP table; window teardown no longer reaches destroyed menus or toolbar (11.5)

This commit is contained in:
雷电芽衣 committed 2026-09-30 14:39:11 -04:00
1 parent 51bec23cc5
commit e94fd73573
30 files changed
+791 -3

No files matched your search

+3
View File
@@ -3,6 +3,7 @@
#include "Rendering/EditorCanvas.h"
#include "UI/FloatingPanel.h"
#include <QAction>
#include <QApplication>
#include <QLineEdit>
#include <QMenuBar>
#include <QPointer>
@@ -12,6 +13,8 @@ class CompositorMenus : public QObject {
Q_OBJECT
public:
CompositorMenus(ProjectWorkspace &workspace, QMenuBar &bar, QWidget &window);
// The panel's hide moves the focus: stop listening first.
~CompositorMenus() override { disconnect(qApp, nullptr, this, nullptr); }
QAction *action(const QString &name) const;