summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.cpp8
1 files changed, 6 insertions, 2 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
@@ -668,3 +668,3 @@ 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 ) );
@@ -676,3 +676,3 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
#endif
- ListView->setVScrollBarMode( QListView::Auto );
+ // ListView->setVScrollBarMode( QListView::Auto );
@@ -713,2 +713,6 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
this->setIcon( image0);
+#ifdef Q_WS_WIN
+ ListView->setSelected( ListView->firstChild() , true);
+ ListView->setSelected( ListView->firstChild() , false);
+#endif
}