Add NOTIFY signal to closeable property
QML doesn't like that the overview effect uses the closeable property yet it has no NOTIFY signal.
This commit is contained in:
parent
095f953847
commit
595c7a7edc
1 changed files with 2 additions and 3 deletions
|
@ -118,10 +118,9 @@ class KWIN_EXPORT AbstractClient : public Toplevel
|
|||
Q_PROPERTY(bool skipSwitcher READ skipSwitcher WRITE setSkipSwitcher NOTIFY skipSwitcherChanged)
|
||||
|
||||
/**
|
||||
* Whether the window can be closed by the user. The value is evaluated each time the getter is called.
|
||||
* Because of that no changed signal is provided.
|
||||
* Whether the window can be closed by the user.
|
||||
*/
|
||||
Q_PROPERTY(bool closeable READ isCloseable)
|
||||
Q_PROPERTY(bool closeable READ isCloseable NOTIFY closeableChanged)
|
||||
|
||||
Q_PROPERTY(QIcon icon READ icon NOTIFY iconChanged)
|
||||
|
||||
|
|
Loading…
Reference in a new issue