diff options
| author | Peter Penz <[email protected]> | 2009-01-31 12:42:01 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-01-31 12:42:01 +0000 |
| commit | 68a7ed8bcfafe36676ddb43a5de426a6f600a05d (patch) | |
| tree | 5def605b3a17719a53824845d96255667bf369b4 /src/panels/information/informationpanel.h | |
| parent | 29a5af6390188102e48aa0e3933acf11da8b7d90 (diff) | |
Don't delete and recreate the phonon widget each time the URL changes, use the existing widget instance if possible.
svn path=/trunk/KDE/kdebase/apps/; revision=919058
Diffstat (limited to 'src/panels/information/informationpanel.h')
| -rw-r--r-- | src/panels/information/informationpanel.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 50a1e6151..2914345df 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -37,6 +37,7 @@ class QPixmap; class QString; class KFileItem; class QLabel; +class PhononWidget; class PixmapViewer; class MetaDataWidget; class MetaTextLabel; @@ -185,11 +186,9 @@ private: KFileItem m_fileItem; // file item for m_shownUrl if available (otherwise null) KFileItemList m_selection; - QLabel* m_infoLabel; - QWidget* m_phononWidget; - QLabel* m_nameLabel; PixmapViewer* m_preview; + PhononWidget* m_phononWidget; MetaDataWidget* m_metaDataWidget; MetaTextLabel* m_metaTextLabel; }; |
