summaryrefslogtreecommitdiffabout
path: root/kaddressbook
Side-by-side diff
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/contactlistview.cpp2
-rw-r--r--kaddressbook/xxportselectdialog.cpp8
2 files changed, 8 insertions, 2 deletions
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp
index ad43970..23b091c 100644
--- a/kaddressbook/views/contactlistview.cpp
+++ b/kaddressbook/views/contactlistview.cpp
@@ -190,5 +190,5 @@ QString ContactListViewItem::key(int column, bool ascending) const
ret.at(start-1) = 's';
}
- qDebug("conv string %s ", ret.latin1());
+ //qDebug("conv string %s ", ret.latin1());
return ret;
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index ab95d5f..6282453 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -36,4 +36,5 @@ $Id$
#include <kglobal.h>
+#include <qapplication.h>
#include <qbuttongroup.h>
#include <qcombobox.h>
@@ -246,4 +247,6 @@ void XXPortSelectDialog::initGUI()
groupLayout->addWidget( mCategoriesView, 3, 1 );
+ // if (QApplication::desktop()->height() == 480 )
+ // mCategoriesView->setMaximumHeight( 240 );
topLayout->addWidget( mButtonGroup );
@@ -279,5 +282,8 @@ void XXPortSelectDialog::initGUI()
if ( !mUseSorting )
- sortingGroup->hide();
+ sortingGroup->hide();
+#ifndef DESKTOP_VERSION
+ hideButtons();
+#endif
}