summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp34
1 files changed, 16 insertions, 18 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index fc6c3bf..d56e746 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -287,5 +287,4 @@ void AdvancedFm::ListPressed( int mouse, QListViewItem *, const QPoint& , int )
cancelRename();
}
-
}
break;
@@ -368,15 +367,15 @@ QStringList AdvancedFm::getPath()
QStringList strList;
QListView *thisView=CurrentView();
- QList<QListViewItem> * getSelectedItems( QListView * thisView );
- QListViewItemIterator it( thisView );
- for ( ; it.current(); ++it )
- {
- if ( it.current()->isSelected() )
- {
- strList << it.current()->text(0);
+ QList<QListViewItem> * getSelectedItems( QListView * thisView );
+ QListViewItemIterator it( thisView );
+ for ( ; it.current(); ++it )
+ {
+ if ( it.current()->isSelected() )
+ {
+ strList << it.current()->text(0);
// qDebug(it.current()->text(0));
- }
- }
- return strList;
+ }
+ }
+ return strList;
}
@@ -394,7 +393,6 @@ void AdvancedFm::docButtonPushed()
QString current = QPEApplication::documentDir();
chdir( current.latin1() );
-
- CurrentDir()->cd( current, TRUE);
- populateView();
+ CurrentDir()->cd( current, TRUE);
+ populateView();
update();
}
@@ -404,6 +402,6 @@ void AdvancedFm::SDButtonPushed()
QString current = "/mnt/card";// this can change so fix
chdir( current.latin1() );
- CurrentDir()->cd( current, TRUE);
- populateView();
+ CurrentDir()->cd( current, TRUE);
+ populateView();
update();
}
@@ -416,5 +414,4 @@ void AdvancedFm::CFButtonPushed()
else
current = "/mnt/hda"; //ipaq
-
chdir( current.latin1() );
CurrentDir()->cd( current, TRUE);
@@ -788,5 +785,6 @@ void AdvancedFm::removeCustomDir()
if(list.grep(dir,true).isEmpty())
{
- QMessageBox::message("AdvancedFm",tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!!"));
+ QMessageBox::message("AdvancedFm",
+ tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!!"));
}
else