From ff332849632d81ae0a12f1102774d1108b2a9730 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 7 Jun 2008 11:00:42 +0000 Subject: Do a delayed initialization of all widgets when showing the the Information Panel. This assures that no expensive initializations are done when the Information Panel is not shown at all. svn path=/trunk/KDE/kdebase/apps/; revision=817992 --- src/infosidebarpage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index fa9fa9d41..bfbaf0e45 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -132,7 +132,10 @@ private: */ bool convertMetaInfo(const QString& key, QString& text) const; + void init(); + private: + bool m_initialized; bool m_pendingPreview; QTimer* m_timer; KUrl m_shownUrl; // URL that is shown as info -- cgit v1.3.1