Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 7b3dcf6..171e7c4 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -707,27 +707,26 @@ void AdvancedFm::fileBeamFinished( Ir *) { | |||
707 | } | 707 | } |
708 | 708 | ||
709 | void AdvancedFm::selectAll() { | 709 | void AdvancedFm::selectAll() { |
710 | QListView *thisView = CurrentView(); | 710 | QListView *thisView = CurrentView(); |
711 | thisView->selectAll(true); | 711 | thisView->selectAll(true); |
712 | thisView->setSelected( thisView->firstChild(),false); | 712 | thisView->setSelected( thisView->firstChild(),false); |
713 | } | 713 | } |
714 | 714 | ||
715 | void AdvancedFm::startProcess(const QString & cmd) { | 715 | void AdvancedFm::startProcess(const QString & cmd) { |
716 | QStringList command; | 716 | QStringList command; |
717 | OProcess *process; | 717 | OProcess *process; |
718 | process = new OProcess(); | 718 | process = new OProcess(); |
719 | connect(process, SIGNAL(processExited(Opie::Core::OProcess*)), this, SLOT( processEnded(Opie::Core::OProcess*))); | 719 | connect(process,SIGNAL(processExited(Opie::Core::OProcess*)),this,SLOT(processEnded(Opie::Core::OProcess*))); |
720 | 720 | connect(process,SIGNAL(receivedStderr(Opie::Core::OProcess*,char*,int)),this,SLOT(oprocessStderr(Opie::Core::OProcess*,char*,int))); | |
721 | connect(process, SIGNAL( receivedStderr(Opie::Core::OProcess*,char*,int)), this, SLOT( oprocessStderr(Opie::Core::OProcess*,char*,int))); | ||
722 | 721 | ||
723 | command << "/bin/sh"; | 722 | command << "/bin/sh"; |
724 | command << "-c"; | 723 | command << "-c"; |
725 | command << cmd.latin1(); | 724 | command << cmd.latin1(); |
726 | *process << command; | 725 | *process << command; |
727 | if(!process->start(OProcess::NotifyOnExit, OProcess::All) ) | 726 | if(!process->start(OProcess::NotifyOnExit, OProcess::All) ) |
728 | odebug << "could not start process" << oendl; | 727 | odebug << "could not start process" << oendl; |
729 | } | 728 | } |
730 | 729 | ||
731 | void AdvancedFm::processEnded(OProcess *) { | 730 | void AdvancedFm::processEnded(OProcess *) { |
732 | rePopulate(); | 731 | rePopulate(); |
733 | } | 732 | } |