summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-19 13:39:29 (UTC)
committer llornkcor <llornkcor>2002-03-19 13:39:29 (UTC)
commitc2de5322e02760d296fda65e78a1f3392448dc94 (patch) (unidiff)
treef187315151835da84da07832065a45b606bcf3e0
parentf6b540e14072d9cfcd5f4a787dcd9039fae7011b (diff)
downloadopie-c2de5322e02760d296fda65e78a1f3392448dc94.zip
opie-c2de5322e02760d296fda65e78a1f3392448dc94.tar.gz
opie-c2de5322e02760d296fda65e78a1f3392448dc94.tar.bz2
fixed menu
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index f70011b..f1b159c 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -696,5 +696,5 @@ void OpieFtp::showRemoteMenu(QListViewItem * item)
696{ 696{
697 QPopupMenu m;// = new QPopupMenu( Local_View ); 697 QPopupMenu m;// = new QPopupMenu( Local_View );
698 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE)) 698 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE) != -1)
699 m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() )); 699 m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() ));
700 else 700 else
@@ -712,5 +712,5 @@ void OpieFtp::showLocalMenu(QListViewItem * item)
712 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); 712 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() ));
713 m.insertSeparator(); 713 m.insertSeparator();
714 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE)) 714 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE) !=-1)
715 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); 715 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() ));
716 else 716 else