summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index 36de842..6be28d6 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -319,7 +319,8 @@ void OpieFtp::newConnection()
319 currentServerConfig = -1; 319 currentServerConfig = -1;
320} 320}
321 321
322void OpieFtp::serverComboEdited(const QString & edit) { 322void OpieFtp::serverComboEdited(const QString & edit)
323{
323 if( !edit.isEmpty() ) { 324 if( !edit.isEmpty() ) {
324 currentServerConfig = -1; 325 currentServerConfig = -1;
325// qDebug("comboedited"); 326// qDebug("comboedited");
@@ -654,7 +655,7 @@ bool OpieFtp::populateRemoteView( )
654 655
655void OpieFtp::remoteListClicked(QListViewItem *selectedItem) 656void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
656{ 657{
657 if(item) { 658 if( selectedItem) {
658 QCopEnvelope ( "QPE/System", "busy()" ); 659 QCopEnvelope ( "QPE/System", "busy()" );
659 QString oldRemoteCurrentDir = currentRemoteDir; 660 QString oldRemoteCurrentDir = currentRemoteDir;
660 QString strItem=selectedItem->text(0); 661 QString strItem=selectedItem->text(0);
@@ -711,8 +712,7 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
711 712
712void OpieFtp::localListClicked(QListViewItem *selectedItem) 713void OpieFtp::localListClicked(QListViewItem *selectedItem)
713{ 714{
714// qDebug(selectedItem->text(0)); 715 if(selectedItem!= NULL) {
715 if(item!= NULL) {
716 716
717 QString strItem=selectedItem->text(0); 717 QString strItem=selectedItem->text(0);
718 QString strSize=selectedItem->text(1); 718 QString strSize=selectedItem->text(1);