Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit b1d753d7 authored by Martin Flöser's avatar Martin Flöser

Cast to AbstractClient instead of Client in Toplevel::setReadyForPainting

TabGroup is nowadays in AbstractClient so the cast to Client is

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 2799f695
......@@ -262,7 +262,7 @@ void Toplevel::setReadyForPainting()
if (compositing()) {
emit windowShown(this);
if (Client *cl = dynamic_cast<Client*>(this)) {
if (auto *cl = dynamic_cast<AbstractClient*>(this)) {
if (cl->tabGroup() && cl->tabGroup()->current() == cl)
cl->tabGroup()->setCurrent(cl, true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment