Set associated window for tray icon

This commit is contained in:
Nicolas Fella
2023-04-12 18:37:10 +02:00
parent 10bdc1d3d1
commit a0b0a5d47f
3 changed files with 19 additions and 0 deletions

View File

@@ -24,6 +24,13 @@ WindowController &WindowController::instance()
void WindowController::setWindow(QWindow *window)
{
m_window = window;
Q_EMIT windowChanged();
}
QWindow *WindowController::window() const
{
return m_window;
}
void WindowController::restoreGeometry()