summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-22 15:11:42 (UTC)
committer zecke <zecke>2004-10-22 15:11:42 (UTC)
commit0a3ab70a5be70bb04691a2a566ce63719e57f83e (patch) (side-by-side diff)
tree7160371d37d8ca5afff098ae183957795b620677
parent0ad51ab1359feaf04c3be229250a4e2e93892564 (diff)
downloadopie-0a3ab70a5be70bb04691a2a566ce63719e57f83e.zip
opie-0a3ab70a5be70bb04691a2a566ce63719e57f83e.tar.gz
opie-0a3ab70a5be70bb04691a2a566ce63719e57f83e.tar.bz2
Open the Context-Menu on rightButtonPress instead of clicked.
This makes wellenreiter behave like other RoH capable applications
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp
index fa1d724..8c2015e 100644
--- a/noncore/net/wellenreiter/gui/scanlist.cpp
+++ b/noncore/net/wellenreiter/gui/scanlist.cpp
@@ -65,49 +65,49 @@ MScanListView::MScanListView( QWidget* parent, const char* name )
setColumnAlignment( col_essid, AlignLeft || AlignVCenter );
addColumn( tr( "#" ) );
setColumnAlignment( col_sig, AlignCenter );
addColumn( tr( "MAC" ) );
setColumnAlignment( col_ap, AlignCenter );
addColumn( tr( "Chn" ) );
setColumnAlignment( col_channel, AlignCenter );
addColumn( tr( "W" ) );
setColumnAlignment( col_wep, AlignCenter );
addColumn( tr( "T" ) );
setColumnAlignment( col_traffic, AlignCenter );
addColumn( tr( "IP" ) );
setColumnAlignment( col_ip, AlignCenter );
addColumn( tr( "Manufacturer" ) );
setColumnAlignment( col_manuf, AlignCenter );
addColumn( tr( "First Seen" ) );
setColumnAlignment( col_firstseen, AlignCenter );
addColumn( tr( "Last Seen" ) );
setColumnAlignment( col_lastseen, AlignCenter );
addColumn( tr( "Location" ) );
setColumnAlignment( col_location, AlignCenter );
setRootIsDecorated( true );
setAllColumnsShowFocus( true );
- connect( this, SIGNAL( rightButtonClicked(QListViewItem*,const QPoint&,int) ),
+ connect( this, SIGNAL( rightButtonPressed(QListViewItem*,const QPoint&,int) ),
this, SLOT( contextMenuRequested(QListViewItem*,const QPoint&,int) ) );
#ifdef QWS
QPEApplication::setStylusOperation( viewport(), QPEApplication::RightOnHold );
#endif
};
MScanListView::~MScanListView()
{
};
OListViewItem* MScanListView::childFactory()
{
return new MScanListItem( this );
}
void MScanListView::serializeTo( QDataStream& s) const
{
odebug << "serializing MScanListView" << oendl;
OListView::serializeTo( s );