author | zecke <zecke> | 2004-12-20 22:49:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-12-20 22:49:19 (UTC) |
commit | 3d9ea198ea8046d3f2c5b88efd721ffb00df2c22 (patch) (unidiff) | |
tree | 14ae80693ed5faadd7d8a177f8a86ecefff476b6 | |
parent | 21b825786deeb195fa73462f09fe70709aa5a628 (diff) | |
download | opie-3d9ea198ea8046d3f2c5b88efd721ffb00df2c22.zip opie-3d9ea198ea8046d3f2c5b88efd721ffb00df2c22.tar.gz opie-3d9ea198ea8046d3f2c5b88efd721ffb00df2c22.tar.bz2 |
Patch from Hrw for 1493
"Launcher starts in one column mode"
Set the QIconView to adjust its layout on resize
-rw-r--r-- | core/launcher/launcherview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index 2783423..dc4c57f 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -681,17 +681,17 @@ LauncherView::LauncherView( QWidget* parent, const char* name, WFlags fl ) | |||
681 | 681 | ||
682 | icons->setItemsMovable( FALSE ); | 682 | icons->setItemsMovable( FALSE ); |
683 | icons->setAutoArrange( TRUE ); | 683 | icons->setAutoArrange( TRUE ); |
684 | icons->setSorting( TRUE ); | 684 | icons->setSorting( TRUE ); |
685 | icons->setFrameStyle( QFrame::NoFrame ); | 685 | icons->setFrameStyle( QFrame::NoFrame ); |
686 | icons->setMargin( 0 ); | 686 | icons->setMargin( 0 ); |
687 | icons->setSelectionMode( QIconView::NoSelection ); | 687 | icons->setSelectionMode( QIconView::NoSelection ); |
688 | icons->setBackgroundMode( PaletteBase ); | 688 | icons->setBackgroundMode( PaletteBase ); |
689 | icons->setResizeMode( QIconView::Fixed ); | 689 | icons->setResizeMode( QIconView::Adjust ); |
690 | vmode = (ViewMode)-1; | 690 | vmode = (ViewMode)-1; |
691 | setViewMode( Icon ); | 691 | setViewMode( Icon ); |
692 | 692 | ||
693 | connect( icons, SIGNAL(mouseButtonClicked(int,QIconViewItem*,const QPoint&)), | 693 | connect( icons, SIGNAL(mouseButtonClicked(int,QIconViewItem*,const QPoint&)), |
694 | SLOT(itemClicked(int,QIconViewItem*)) ); | 694 | SLOT(itemClicked(int,QIconViewItem*)) ); |
695 | connect( icons, SIGNAL(selectionChanged()), | 695 | connect( icons, SIGNAL(selectionChanged()), |
696 | SLOT(selectionChanged()) ); | 696 | SLOT(selectionChanged()) ); |
697 | connect( icons, SIGNAL(returnPressed(QIconViewItem*)), | 697 | connect( icons, SIGNAL(returnPressed(QIconViewItem*)), |