summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdeui/klistview.cpp9
-rw-r--r--microkde/kdeui/klistview.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/microkde/kdeui/klistview.cpp b/microkde/kdeui/klistview.cpp
index 25327aa..f7d2187 100644
--- a/microkde/kdeui/klistview.cpp
+++ b/microkde/kdeui/klistview.cpp
@@ -476,7 +476,16 @@ bool KListView::isExecuteArea( const QPoint& point )
return false;
}
+QSize KListView::sizeHint() const
+{
+ //qDebug("KListView::QSize sizeHint() ");
+#ifdef DESKTOP_VERSION
+ QListView::sizeHint();
+#else
+ return QSize ( 40, 40 );
+#endif
+}
bool KListView::isExecuteArea( int x )
{
if( allColumnsShowFocus() )
diff --git a/microkde/kdeui/klistview.h b/microkde/kdeui/klistview.h
index 0058416..9f0d9fd 100644
--- a/microkde/kdeui/klistview.h
+++ b/microkde/kdeui/klistview.h
@@ -130,6 +130,7 @@ public:
*/
virtual ~KListView();
+ virtual QSize sizeHint() const;
/**
* Reimplemented for internal reasons.
* Further reimplementations should call this function or else