summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmviewstyle_1.cpp10
-rw-r--r--pwmanager/pwmanager/rencatwnd.cpp6
2 files changed, 13 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/pwmviewstyle_1.cpp b/pwmanager/pwmanager/pwmviewstyle_1.cpp
index a85cece..6b9def3 100644
--- a/pwmanager/pwmanager/pwmviewstyle_1.cpp
+++ b/pwmanager/pwmanager/pwmviewstyle_1.cpp
@@ -27,2 +27,7 @@
+#ifndef DESKTOP_VERSION
+#include <qpe/qpeapplication.h>
+#else
+#include <qapplication.h>
+#endif
#define INITIAL_CATEGORIES_WIDTH 100
@@ -78,2 +83,7 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
view, SLOT(delCatButton_slot()));
+
+#ifndef DESKTOP_VERSION
+ QPEApplication::setStylusOperation( categoriesList->viewport(), QPEApplication::RightOnHold );
+#endif
+
// connections
diff --git a/pwmanager/pwmanager/rencatwnd.cpp b/pwmanager/pwmanager/rencatwnd.cpp
index 1e8f9e9..3c4de27 100644
--- a/pwmanager/pwmanager/rencatwnd.cpp
+++ b/pwmanager/pwmanager/rencatwnd.cpp
@@ -26,3 +26,3 @@ RenCatWnd::RenCatWnd(QWidget *parent,
const char *name, bool modal, WFlags f)
- : QDialog(parent, name, modal, f)
+ : QDialog(parent, name, true, f)
{
@@ -39,5 +39,5 @@ RenCatWnd::RenCatWnd(QWidget *parent,
- resize(400, 100);
+ resize(220, 100);
- setCaption(i18n("rename category"));
+ setCaption(i18n("Rename category"));
label->setText(i18n("New category name:"));