From aa5d79399aa991aa84eb8b4f48d55202473990ef Mon Sep 17 00:00:00 2001 From: kergoth Date: Wed, 15 May 2002 16:44:53 +0000 Subject: hmm, we dont need the same things in here twice. Compiles again. --- (limited to 'noncore/unsupported') 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 @@ -541,25 +541,6 @@ void FileView::cut() flist.clear(); while( item ){ - if( ite - // ##### a better inmplementation might be to rename the CUT file - // ##### to ".QPE-FILEBROWSER-MOVING" rather than copying it. - QString cmd, dest, basename, cd = "/tmp/qpemoving"; - QStringList newflist; - newflist.clear(); - - cmd = "rm -rf " + cd; - system ( (const char *) cmd ); - cmd = "mkdir " + cd; - system( (const char *) cmd ); - -// get the names of the files to cut - FileItem * item; - - if((item = (FileItem *) firstChild()) == 0) return; - - flist.clear(); - while( item ){ if( item->isSelected() /*&& !item->isDir()*/ ){ flist += item->getFilePath(); } @@ -1108,22 +1089,3 @@ void FileBrowser::cleanUp() { // qDebug("exit"); system(cmdr.latin1()); } - -{ - bool valShowThumbnails=viewMenu->isItemChecked( viewMenu->idAt( 2 ) ); - valShowThumbnails=!valShowThumbnails; - viewMenu->setItemChecked( viewMenu->idAt( 2 ), valShowThumbnails ); - fileView->setShowThumbnails(valShowThumbnails); - - Config cfg("Filebrowser"); - cfg.setGroup("View"); - cfg.writeEntry("Thumbnails",valShowThumbnails?"TRUE":"FALSE"); - - fileView->updateDir(); -} - -void FileBrowser::cleanUp() { - QString cmdr = "rm -rf /tmp/filebrowserThumbnailCache"; -// qDebug("exit"); - system(cmdr.latin1()); -} -- cgit v0.9.0.2