Diffstat (limited to 'noncore/apps/advancedfm/advancedfmData.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index 29335f8..dc7e8e1 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp @@ -163,3 +163,3 @@ void AdvancedFm::init() { - QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold); + QPEApplication::setStylusOperation( Local_View->viewport() , QPEApplication::RightOnHold); @@ -187,3 +187,3 @@ void AdvancedFm::init() { - QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); + QPEApplication::setStylusOperation( Remote_View->viewport(), QPEApplication::RightOnHold); @@ -225,3 +225,3 @@ void AdvancedFm::init() { if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) { - odebug << "not have sd" << oendl; + odebug << "not have sd" << oendl; sdButton->hide(); @@ -229,3 +229,3 @@ void AdvancedFm::init() { if( !StorageInfo::hasCf() ) { - odebug << "not have cf" << oendl; + odebug << "not have cf" << oendl; cfButton->hide(); @@ -275,4 +275,2 @@ void AdvancedFm::initConnections() - connect( Local_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); - connect( Remote_View, SIGNAL( clicked(QListViewItem*)), @@ -285,3 +283,6 @@ void AdvancedFm::initConnections() - connect( &menuTimer, SIGNAL( timeout() ), SLOT( showFileMenu() ) ); + connect( Remote_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&, int)), + this, SLOT(showFileMenu())); + connect( Local_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&,int)), + this, SLOT(showFileMenu())); |