Skip to content
  • Vlad Zahorodnii's avatar
    Use less Toplevel::isClient() · 4d161bec
    Vlad Zahorodnii authored
    Summary:
    Prefer qobject_cast<> over Toplevel::isClient() because it's more type
    safer and makes code a bit more readable.
    
    Hopefully, one day we will be able to get rid of isClient() altogether.
    
    Test Plan: Compiles.
    
    Reviewers: #kwin
    
    Subscribers: kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D26541
    4d161bec