Skip to content
  • Joshua Noack's avatar
    Use default close button of KMessageWidget · c442d223
    Joshua Noack authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    Summary:
    D10935 introduced KMessageWidgets in TerminalDisplay for the "resume"
    and "read-only" messages. This patch restores the default close button
    and makes use of animateShow/animateHide. A nice plus is that I also
    removed some code which has become obsolete AND that the messages
    are now animated.
    
    {F5749781}
    
    Test Plan:
    Show/hide works like before.
    Also still works if readonly and suspended at the same time.
    Detaching works.
    
    Reviewers: ach, #konsole, hindenburg
    
    Reviewed By: #konsole, hindenburg
    
    Subscribers: hindenburg, ach, #konsole
    
    Tags: #konsole
    
    Differential Revision: https://phabricator.kde.org/D11241
    c442d223