summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-28 13:39:25 (UTC)
committer llornkcor <llornkcor>2002-03-28 13:39:25 (UTC)
commitcd6f89bfab7e609705e8013d50413e1cae929d8a (patch) (side-by-side diff)
tree58de5a24abe2dc9640aa92fdb9db4512ff3c5c01
parentfea05ec0241de3f3476696584e4a11dab045f91e (diff)
downloadopie-cd6f89bfab7e609705e8013d50413e1cae929d8a.zip
opie-cd6f89bfab7e609705e8013d50413e1cae929d8a.tar.gz
opie-cd6f89bfab7e609705e8013d50413e1cae929d8a.tar.bz2
fixed somthing
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp30
1 files changed, 9 insertions, 21 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index efcaf84..36de842 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -143,4 +143,4 @@ OpieFtp::OpieFtp( )
// this,SLOT( localListClicked(QListViewItem *)) );
- connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)),
- this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) );
+// connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)),
+// this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) );
@@ -263,14 +263,2 @@ OpieFtp::OpieFtp( )
-#ifdef DEVELOPERS_VERSION
- ServerComboBox->lineEdit()->setText( tr( "192.168.129.201" ) );
- UsernameComboBox->lineEdit()->setText("root");
- PortSpinBox->setValue( 4242);
- remotePath->setText( currentRemoteDir = "/");
-// ServerComboBox->lineEdit()->setText( tr( "llornkcor.com" ) );
-// UsernameComboBox->lineEdit()->setText("llornkcor");
-// PortSpinBox->setValue( 21);
-// remotePath->setText( currentRemoteDir = "/home/llornkcor");
- PasswordEdit->setText( tr( "" ) );
-#endif
-
filterStr="*";
@@ -725,3 +713,5 @@ void OpieFtp::localListClicked(QListViewItem *selectedItem)
{
- if(item) {
+// qDebug(selectedItem->text(0));
+ if(item!= NULL) {
+
QString strItem=selectedItem->text(0);
@@ -791,9 +781,6 @@ void OpieFtp::ListPressed( int mouse, QListViewItem *item, const QPoint &point,
{
- switch (mouse) {
- case 1:
- break;
- case 2:
+// if(item)
+if (mouse == 2) {
showLocalMenu(item);
- break;
- };
+ }
}
@@ -827,2 +814,3 @@ void OpieFtp::showLocalMenu(QListViewItem * item)
{
+
QPopupMenu m;