summaryrefslogtreecommitdiff
path: root/noncore/apps
authorllornkcor <llornkcor>2004-07-27 00:53:35 (UTC)
committer llornkcor <llornkcor>2004-07-27 00:53:35 (UTC)
commit2f332574ddbd31fe9709c1ec93049ecef9bd00a4 (patch) (side-by-side diff)
treeb4d2fb110e398d6fa2491bd754a1d3f2e651fe97 /noncore/apps
parent8ff9840e3cbb28a1a644eb165465c60903e651a1 (diff)
downloadopie-2f332574ddbd31fe9709c1ec93049ecef9bd00a4.zip
opie-2f332574ddbd31fe9709c1ec93049ecef9bd00a4.tar.gz
opie-2f332574ddbd31fe9709c1ec93049ecef9bd00a4.tar.bz2
workaround weird windows listview bug
Diffstat (limited to 'noncore/apps') (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
@@ -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 );
@@ -712,3 +712,7 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl )
- this->setIcon( image0);
+ this->setIcon( image0);
+#ifdef Q_WS_WIN
+ ListView->setSelected( ListView->firstChild() , true);
+ ListView->setSelected( ListView->firstChild() , false);
+#endif
}