diff options
| author | Peter Penz <[email protected]> | 2008-06-07 11:00:42 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-07 11:00:42 +0000 |
| commit | ff332849632d81ae0a12f1102774d1108b2a9730 (patch) | |
| tree | 14452c5e059800b15c29b298e26be4643b92f25d /src/infosidebarpage.h | |
| parent | 232a5421755d7109f28dcf3ff4e26fd64ad02d66 (diff) | |
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
Diffstat (limited to 'src/infosidebarpage.h')
| -rw-r--r-- | src/infosidebarpage.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
