summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index b451925..919649e 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -117,5 +117,5 @@ OpieFtp::OpieFtp( )
layout->addMultiCellWidget( TabWidget, 1, 1, 0, 3 );
- TabWidget->setTabShape(QTabWidget::Triangular);
+// TabWidget->setTabShape(QTabWidget::Triangular);
tab = new QWidget( TabWidget, "tab" );
@@ -268,5 +268,6 @@ OpieFtp::OpieFtp( )
populateLocalView();
readConfig();
- ServerComboBox->setCurrentItem(currentServerConfig);
+ ServerComboBox->setCurrentItem(currentServerConfig);
+
TabWidget->setCurrentPage(2);
}
@@ -324,7 +325,7 @@ void OpieFtp::newConnection()
void OpieFtp::serverComboEdited(const QString & edit)
{
- if( !edit.isEmpty() ) {
+ if( ServerComboBox->text(currentServerConfig) != edit /*edit.isEmpty() */) {
+ qDebug("ServerComboEdited");
currentServerConfig = -1;
-// qDebug("comboedited");
}
}
@@ -524,5 +525,5 @@ bool OpieFtp::remoteChDir(const QString &dir)
msg.replace(QRegExp(":"),"\n");
QMessageBox::message(tr("Note"),msg);
- qDebug(msg);
+// qDebug(msg);
QCopEnvelope ( "QPE/System", "notBusy()" );
return FALSE;
@@ -668,5 +669,5 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
msg.replace(QRegExp(":"),"\n");
QMessageBox::message(tr("Note"),msg);
- qDebug(msg);
+// qDebug(msg);
}
char path[256];
@@ -676,5 +677,5 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
msg.replace(QRegExp(":"),"\n");
QMessageBox::message(tr("Note"),msg);
- qDebug(msg);
+// qDebug(msg);
}
currentRemoteDir=path;
@@ -1066,4 +1067,5 @@ void OpieFtp::readConfig()
cfg.setGroup("Server");
currentServerConfig = cfg.readNumEntry("currentServer", -1);
+// qDebug("Reading %d", currentServerConfig);
serverComboSelected( currentServerConfig);
}
@@ -1081,5 +1083,4 @@ void OpieFtp::writeConfig()
QString tempStr = cfg.readEntry( temp,"");
}
-
temp.setNum( numberOfEntries + 1);
cfg.setGroup("Server");