author | llornkcor <llornkcor> | 2004-09-18 09:05:57 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-09-18 09:05:57 (UTC) |
commit | eaf09b9b6e1abbe36e814a8e4da315ac8d96bd63 (patch) (unidiff) | |
tree | ee914747ae2494d50716ab3cda866613d4eb134c /noncore/apps/advancedfm/advancedfmMenu.cpp | |
parent | 5096f9bd9f1a06e5238e2206eee195c43a2bdb6b (diff) | |
download | opie-eaf09b9b6e1abbe36e814a8e4da315ac8d96bd63.zip opie-eaf09b9b6e1abbe36e814a8e4da315ac8d96bd63.tar.gz opie-eaf09b9b6e1abbe36e814a8e4da315ac8d96bd63.tar.bz2 |
fix stuff, including #1404
Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 4628170..8d04c68 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -334,7 +334,6 @@ void AdvancedFm::copy() { | |||
334 | } | 334 | } |
335 | 335 | ||
336 | void AdvancedFm::copyAs() { | 336 | void AdvancedFm::copyAs() { |
337 | qApp->processEvents(); | ||
338 | 337 | ||
339 | QStringList curFileList = getPath(); | 338 | QStringList curFileList = getPath(); |
340 | QString curFile, item; | 339 | QString curFile, item; |
@@ -380,6 +379,8 @@ void AdvancedFm::copyAs() { | |||
380 | } | 379 | } |
381 | rePopulate(); | 380 | rePopulate(); |
382 | setOtherTabCurrent(); | 381 | setOtherTabCurrent(); |
382 | qApp->processEvents(); | ||
383 | |||
383 | } | 384 | } |
384 | 385 | ||
385 | void AdvancedFm::copySameDir() { | 386 | void AdvancedFm::copySameDir() { |
@@ -754,10 +755,11 @@ bool AdvancedFm::eventFilter( QObject * o, QEvent * e ) { | |||
754 | if ( o->inherits( "QListView" ) ) { | 755 | if ( o->inherits( "QListView" ) ) { |
755 | if ( e->type() == QEvent::FocusIn ) { | 756 | if ( e->type() == QEvent::FocusIn ) { |
756 | if( o == Local_View) { //keep track of which view | 757 | if( o == Local_View) { //keep track of which view |
758 | qDebug("local view"); | ||
757 | whichTab=1; | 759 | whichTab=1; |
758 | } | 760 | } else { |
759 | else { | ||
760 | whichTab=2; | 761 | whichTab=2; |
762 | qDebug("remote view"); | ||
761 | } | 763 | } |
762 | } | 764 | } |
763 | OtherView()->setSelected( OtherView()->currentItem(), FALSE );//make sure there's correct selection | 765 | OtherView()->setSelected( OtherView()->currentItem(), FALSE );//make sure there's correct selection |