author | kergoth <kergoth> | 2002-05-15 16:44:53 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-05-15 16:44:53 (UTC) |
commit | aa5d79399aa991aa84eb8b4f48d55202473990ef (patch) (unidiff) | |
tree | dda2b43b5ad001435175cce1ec943df21ef63c43 | |
parent | 7844e2aebcb289f55bf10f22ea1250773c8ad7bd (diff) | |
download | opie-aa5d79399aa991aa84eb8b4f48d55202473990ef.zip opie-aa5d79399aa991aa84eb8b4f48d55202473990ef.tar.gz opie-aa5d79399aa991aa84eb8b4f48d55202473990ef.tar.bz2 |
hmm, we dont need the same things in here twice. Compiles again.
-rw-r--r-- | noncore/unsupported/filebrowser/filebrowser.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.cpp b/noncore/unsupported/filebrowser/filebrowser.cpp index 7dabdb6..d16e771 100644 --- a/noncore/unsupported/filebrowser/filebrowser.cpp +++ b/noncore/unsupported/filebrowser/filebrowser.cpp | |||
@@ -543,21 +543,2 @@ void FileView::cut() | |||
543 | while( item ){ | 543 | while( item ){ |
544 | if( ite | ||
545 | // ##### a better inmplementation might be to rename the CUT file | ||
546 | // ##### to ".QPE-FILEBROWSER-MOVING" rather than copying it. | ||
547 | QString cmd, dest, basename, cd = "/tmp/qpemoving"; | ||
548 | QStringList newflist; | ||
549 | newflist.clear(); | ||
550 | |||
551 | cmd = "rm -rf " + cd; | ||
552 | system ( (const char *) cmd ); | ||
553 | cmd = "mkdir " + cd; | ||
554 | system( (const char *) cmd ); | ||
555 | |||
556 | // get the names of the files to cut | ||
557 | FileItem * item; | ||
558 | |||
559 | if((item = (FileItem *) firstChild()) == 0) return; | ||
560 | |||
561 | flist.clear(); | ||
562 | while( item ){ | ||
563 | if( item->isSelected() /*&& !item->isDir()*/ ){ | 544 | if( item->isSelected() /*&& !item->isDir()*/ ){ |
@@ -1110,20 +1091 @@ void FileBrowser::cleanUp() { | |||
1110 | } | } | |
1111 | |||
1112 | { | ||
1113 | bool valShowThumbnails=viewMenu->isItemChecked( viewMenu->idAt( 2 ) ); | ||
1114 | valShowThumbnails=!valShowThumbnails; | ||
1115 | viewMenu->setItemChecked( viewMenu->idAt( 2 ), valShowThumbnails ); | ||
1116 | fileView->setShowThumbnails(valShowThumbnails); | ||
1117 | |||
1118 | Config cfg("Filebrowser"); | ||
1119 | cfg.setGroup("View"); | ||
1120 | cfg.writeEntry("Thumbnails",valShowThumbnails?"TRUE":"FALSE"); | ||
1121 | |||
1122 | fileView->updateDir(); | ||
1123 | } | ||
1124 | |||
1125 | void FileBrowser::cleanUp() { | ||
1126 | QString cmdr = "rm -rf /tmp/filebrowserThumbnailCache"; | ||
1127 | // qDebug("exit"); | ||
1128 | system(cmdr.latin1()); | ||
1129 | } | ||