summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/iconview.cpp
Unidiff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/iconview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp
index aeaa3c6..74a8d0f 100644
--- a/noncore/graphics/opie-eye/gui/iconview.cpp
+++ b/noncore/graphics/opie-eye/gui/iconview.cpp
@@ -83,12 +83,13 @@ namespace {
83 } 83 }
84 } 84 }
85 inline void IconViewItem::setText( const QString& str ) { 85 inline void IconViewItem::setText( const QString& str ) {
86 QString text = QIconViewItem::text()+"\n"+str; 86 QString text = QIconViewItem::text()+"\n"+str;
87 m_noInfo = true; 87 m_noInfo = true;
88 QIconViewItem::setText( text ); 88 QIconViewItem::setText( text );
89 reCalc();
89 } 90 }
90 91
91 inline void IconViewItem::reCalc() 92 inline void IconViewItem::reCalc()
92 { 93 {
93 calcRect(); 94 calcRect();
94 } 95 }
@@ -263,13 +264,13 @@ void PIconView::slotClicked(QIconViewItem* _it) {
263 264
264void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { 265void PIconView::slotThumbInfo( const QString& _path, const QString& str ) {
265 if ( g_stringInf.contains( _path ) ) { 266 if ( g_stringInf.contains( _path ) ) {
266 IconViewItem* item = g_stringInf[_path]; 267 IconViewItem* item = g_stringInf[_path];
267 /* if set the view shows nonsens! 268 /* if set the view shows nonsens!
268 I dont know how to fix the format of displayed text :(*/ 269 I dont know how to fix the format of displayed text :(*/
269 //item->setText( str ); 270 item->setText( str );
270 item->repaint(); 271 item->repaint();
271 g_stringInf.remove( _path ); 272 g_stringInf.remove( _path );
272 } 273 }
273} 274}
274void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { 275void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) {
275 if ( g_stringPix.contains( _path ) ) { 276 if ( g_stringPix.contains( _path ) ) {