forked from quickshell/quickshell
Previously was not updated after reload, causing QsWindowAttached to use the old window pointer after it had been freed.
15 lines
313 B
C++
15 lines
313 B
C++
#pragma once
|
|
|
|
#include <qobject.h>
|
|
#include <qtmetamacros.h>
|
|
|
|
class TestWindowAttachment: public QObject {
|
|
Q_OBJECT;
|
|
|
|
private slots:
|
|
static void attachedAfterReload();
|
|
static void attachedBeforeReload();
|
|
static void earlyAttachReloaded();
|
|
static void owningWindowChanged();
|
|
static void nonItemParents();
|
|
};
|