author | cniehaus <cniehaus> | 2003-05-02 21:05:17 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-05-02 21:05:17 (UTC) |
commit | eb2cf58480b21ab24166a1fda83f24cf61e010d0 (patch) (unidiff) | |
tree | c0cd7c442a11bea0a6ceb5fdba7670351870269b /noncore/apps/advancedfm | |
parent | 3eb477c27f32b8fa7900ddd5efceeacf6df87d25 (diff) | |
download | opie-eb2cf58480b21ab24166a1fda83f24cf61e010d0.zip opie-eb2cf58480b21ab24166a1fda83f24cf61e010d0.tar.gz opie-eb2cf58480b21ab24166a1fda83f24cf61e010d0.tar.bz2 |
tr()-fix -- don't use 2 !. One is enough
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 66353bb..d4351b0 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -772,14 +772,14 @@ void AdvancedFm::removeCustomDir() | |||
772 | dir = CurrentDir()->canonicalPath(); | 772 | dir = CurrentDir()->canonicalPath(); |
773 | int ramble=2; | 773 | int ramble=2; |
774 | // int ramble=-24; | 774 | // int ramble=-24; |
775 | //first remove list | 775 | //first remove list |
776 | if(list.grep(dir,true).isEmpty()) | 776 | if(list.grep(dir,true).isEmpty()) |
777 | { | 777 | { |
778 | QMessageBox::message("AdvancedFm", | 778 | QMessageBox::message(tr( "AdvancedFm" ), |
779 | tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!!")); | 779 | tr("Cannot remove current directory\nfrom bookmarks.\nIt is not bookmarked!")); |
780 | } | 780 | } |
781 | else | 781 | else |
782 | { | 782 | { |
783 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) | 783 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) |
784 | { | 784 | { |
785 | if((*it) != dir)//current item is not our current dir, so add it to temp list | 785 | if((*it) != dir)//current item is not our current dir, so add it to temp list |