summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/sysinfo/processinfo.cpp7
-rw-r--r--noncore/settings/sysinfo/processinfo.h0
2 files changed, 5 insertions, 2 deletions
diff --git a/noncore/settings/sysinfo/processinfo.cpp b/noncore/settings/sysinfo/processinfo.cpp
index ad81d7b..0512141 100644
--- a/noncore/settings/sysinfo/processinfo.cpp
+++ b/noncore/settings/sysinfo/processinfo.cpp
@@ -18,4 +18,6 @@
**********************************************************************/
+#include <qpe/qpeapplication.h>
+
#include <qheader.h>
#include <qlistview.h>
@@ -40,5 +42,7 @@ ProcessInfo::ProcessInfo( QWidget* parent, const char* name, WFlags fl )
ProcessView->setColumnAlignment( colnum, Qt::AlignRight );
ProcessView->setAllColumnsShowFocus( TRUE );
- connect( ProcessView, SIGNAL( doubleClicked(QListViewItem *) ), this, SLOT( viewProcess(QListViewItem *) ) );
+ QPEApplication::setStylusOperation( ProcessView->viewport(), QPEApplication::RightOnHold );
+ connect( ProcessView, SIGNAL( rightButtonPressed( QListViewItem *, const QPoint &, int ) ),
+ this, SLOT( viewProcess( QListViewItem * ) ) );
layout->addWidget( ProcessView );
@@ -126,5 +130,4 @@ void ProcessInfo::viewProcess(QListViewItem *process)
fclose( statfile );
}
-
ProcessDtl->showMaximized();
}
diff --git a/noncore/settings/sysinfo/processinfo.h b/noncore/settings/sysinfo/processinfo.h
index 89d1a93..24b190e 100644
--- a/noncore/settings/sysinfo/processinfo.h
+++ b/noncore/settings/sysinfo/processinfo.h