From 16c9f2f228e0d932abfe77c130fbca410738d5a6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 26 Mar 2007 18:51:43 +0000 Subject: [PATCH] Patch by Roberto Raggi to replace show reimplementations with showEvent or setVisible, since show isn't virtual in Qt4. svn path=/trunk/KDE/kdebase/workspace/; revision=646824 --- client.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client.h b/client.h index 0bf54729d8..c6e2b40ad1 100644 --- a/client.h +++ b/client.h @@ -517,8 +517,7 @@ class Client : public QObject, public KDecorationDefines friend struct CheckIgnoreFocusStealingProcedure; friend struct ResetupRulesProcedure; friend class GeometryUpdatesPostponer; - void show() { assert( false ); } // SELI remove after Client is no longer QWidget - void hide() { assert( false ); } + virtual void setVisible(bool /*visible*/) { assert(false); } // SELI remove after Client is no longer QWidget QTimer* demandAttentionKNotifyTimer; friend bool performTransiencyCheck();