From df05c96459ff48cb3d822341aa4f474f2b415a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 4 Sep 2002 07:27:06 +0000 Subject: [PATCH] Ok, looks like it wasn't BIC after all. svn path=/trunk/kdebase/kwin/; revision=175636 --- workspace.cpp | 4 ++-- workspace.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 8332704f6e..40a11e6776 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1411,7 +1411,7 @@ void Workspace::setActiveClient( Client* c ) { if ( active_client == c ) return; - if( popup && static_cast< Client* >( popup_client ) != c ) { + if( popup && popup_client != c ) { popup->close(); popup_client = 0; } @@ -1781,7 +1781,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op ) void Workspace::clientPopupActivated( int id ) { - performWindowOperation( popup_client ? static_cast< Client* >( popup_client ) : active_client, (Options::WindowOperation) id ); + performWindowOperation( popup_client ? popup_client : active_client, (Options::WindowOperation) id ); } /*! diff --git a/workspace.h b/workspace.h index 25b0ee569e..a8ab00a92a 100644 --- a/workspace.h +++ b/workspace.h @@ -395,7 +395,7 @@ private: int number_of_desktops; QMemArray desktop_focus_chain; - QGuardedPtr popup_client; + Client* popup_client; void loadSessionInfo();