summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-06-15 07:44:41 (UTC)
committer llornkcor <llornkcor>2004-06-15 07:44:41 (UTC)
commit631bd9765ed1d4e53ee8b021da644e0cfdcd623c (patch) (side-by-side diff)
tree6ab82737682b5e8f3c97933bf3f8c43b216f31bd
parent01b44d9e12a324b8d77f52d66c6799f6f8f0df28 (diff)
downloadopie-631bd9765ed1d4e53ee8b021da644e0cfdcd623c.zip
opie-631bd9765ed1d4e53ee8b021da644e0cfdcd623c.tar.gz
opie-631bd9765ed1d4e53ee8b021da644e0cfdcd623c.tar.bz2
workaround launcherview problems with qt/e 2.3.8
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 71e8753..e86f389 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -929,26 +929,28 @@ void LauncherView::setViewFont( const QFont &f )
icons->setFont( f );
icons->hideOrShowItems( FALSE );
}
void LauncherView::clearViewFont()
{
icons->unsetFont();
icons->hideOrShowItems( FALSE );
}
void LauncherView::resizeEvent(QResizeEvent *e)
{
+// qDebug("LauncherView resize event");
QVBox::resizeEvent( e );
- if ( e->size().width() != e->oldSize().width() )
+// commented out for launcherview and qt/e 2.3.8 problems, probably needs real fixing somewhere...
+// if ( e->size().width() != e->oldSize().width() )
sort();
}
void LauncherView::selectionChanged()
{
QIconViewItem* item = icons->currentItem();
if ( item && item->isSelected() ) {
AppLnk *appLnk = ((LauncherItem *)item)->appLnk();
if ( icons->inKeyEvent() ) // not for mouse press
emit clicked( appLnk );
item->setSelected(FALSE);
}