summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-03-28 13:46:22 (UTC)
committer llornkcor <llornkcor>2002-03-28 13:46:22 (UTC)
commit262def2f8e13de60344f3118078328d5e37a6054 (patch) (side-by-side diff)
tree0e4769627f6a10c33682312f9cc0219f7af8e59b /noncore
parentcd6f89bfab7e609705e8013d50413e1cae929d8a (diff)
downloadopie-262def2f8e13de60344f3118078328d5e37a6054.zip
opie-262def2f8e13de60344f3118078328d5e37a6054.tar.gz
opie-262def2f8e13de60344f3118078328d5e37a6054.tar.bz2
fixed clicking on empty space.. dambit
Diffstat (limited to 'noncore') (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()
currentServerConfig = -1;
}
-void OpieFtp::serverComboEdited(const QString & edit) {
+void OpieFtp::serverComboEdited(const QString & edit)
+{
if( !edit.isEmpty() ) {
currentServerConfig = -1;
// qDebug("comboedited");
@@ -654,7 +655,7 @@ bool OpieFtp::populateRemoteView( )
void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
{
- if(item) {
+ if( selectedItem) {
QCopEnvelope ( "QPE/System", "busy()" );
QString oldRemoteCurrentDir = currentRemoteDir;
QString strItem=selectedItem->text(0);
@@ -711,8 +712,7 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
void OpieFtp::localListClicked(QListViewItem *selectedItem)
{
-// qDebug(selectedItem->text(0));
- if(item!= NULL) {
+ if(selectedItem!= NULL) {
QString strItem=selectedItem->text(0);
QString strSize=selectedItem->text(1);