summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-03-28 02:18:16 (UTC)
committer llornkcor <llornkcor>2002-03-28 02:18:16 (UTC)
commita2cd4f6515e590ef2e818929843e2923b75beef5 (patch) (unidiff)
tree918bcd4c46acd2c63ea7fa7ad40c212e1002e457 /noncore
parentd360439051f476cd847c4d8cec27a52addcd72a2 (diff)
downloadopie-a2cd4f6515e590ef2e818929843e2923b75beef5.zip
opie-a2cd4f6515e590ef2e818929843e2923b75beef5.tar.gz
opie-a2cd4f6515e590ef2e818929843e2923b75beef5.tar.bz2
wishy-washy on single vs double click
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index 907a812..efcaf84 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -137,8 +137,10 @@ OpieFtp::OpieFtp( )
137 137
138 tabLayout->addWidget( Local_View, 0, 0 ); 138 tabLayout->addWidget( Local_View, 0, 0 );
139 139
140 connect( Local_View, SIGNAL( doubleClicked( QListViewItem*)), 140 connect( Local_View, SIGNAL( clicked( QListViewItem*)),
141 this,SLOT( localListClicked(QListViewItem *)) ); 141 this,SLOT( localListClicked(QListViewItem *)) );
142// connect( Local_View, SIGNAL( doubleClicked( QListViewItem*)),
143// this,SLOT( localListClicked(QListViewItem *)) );
142 connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), 144 connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)),
143 this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) ); 145 this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) );
144 146
@@ -162,7 +164,7 @@ OpieFtp::OpieFtp( )
162 164
163 QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); 165 QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold);
164 166
165 connect( Remote_View, SIGNAL( doubleClicked( QListViewItem*)), 167 connect( Remote_View, SIGNAL( clicked( QListViewItem*)),
166 this,SLOT( remoteListClicked(QListViewItem *)) ); 168 this,SLOT( remoteListClicked(QListViewItem *)) );
167 connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), 169 connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)),
168 this,SLOT( RemoteListPressed(int, QListViewItem *, const QPoint&, int)) ); 170 this,SLOT( RemoteListPressed(int, QListViewItem *, const QPoint&, int)) );
@@ -749,7 +751,7 @@ void OpieFtp::localListClicked(QListViewItem *selectedItem)
749 } else { 751 } else {
750 strItem=QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem); 752 strItem=QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem);
751 if( QFile::exists(strItem ) ) { 753 if( QFile::exists(strItem ) ) {
752 qDebug("upload "+strItem); 754 // qDebug("upload "+strItem);
753 } 755 }
754 } //end not symlink 756 } //end not symlink
755 chdir(strItem.latin1()); 757 chdir(strItem.latin1());