summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp
index 2dd94aa..6aa6392 100644
--- a/noncore/apps/zsafe/zsafe.cpp
+++ b/noncore/apps/zsafe/zsafe.cpp
@@ -667,5 +667,5 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
#ifdef DESKTOP
- ListView->setResizePolicy(QScrollView::AutoOneFit);
+ // ListView->setResizePolicy(QScrollView::AutoOneFit);
// ListView->setGeometry( QRect( 0, 22, this->width(), this->height() - 30 ) );
#else
@@ -675,5 +675,5 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
// ListView->setMaximumSize( QSize( 440, 290 ) );
#endif
- ListView->setVScrollBarMode( QListView::Auto );
+ // ListView->setVScrollBarMode( QListView::Auto );
QBoxLayout * l = new QVBoxLayout( this );
@@ -711,5 +711,9 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) );
- this->setIcon( image0);
+ this->setIcon( image0);
+#ifdef Q_WS_WIN
+ ListView->setSelected( ListView->firstChild() , true);
+ ListView->setSelected( ListView->firstChild() , false);
+#endif
}