diff options
| author | ntoskrnl <ntoskrnl11@yahoo.com> | 2012-08-02 20:04:35 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-04 10:32:48 (GMT) |
| commit | baf07e470e50905148784eb6008cf69878440dfa (patch) | |
| tree | fa0d35c746585bbd5a24a52a3fe7565aeaccb73e /src/search/SearchController.cpp | |
| parent | d6e384e1ecbe4b2610277f22ff30286a4620b990 (diff) | |
| download | powder-baf07e470e50905148784eb6008cf69878440dfa.zip powder-baf07e470e50905148784eb6008cf69878440dfa.tar.gz | |
Build fixes for FreeBSD
Diffstat (limited to 'src/search/SearchController.cpp')
| -rw-r--r-- | src/search/SearchController.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp index 5e592ae..14d7e72 100644 --- a/src/search/SearchController.cpp +++ b/src/search/SearchController.cpp @@ -1,6 +1,5 @@ #include <string> #include <sstream> -#include <unistd.h> #include "SearchController.h" #include "SearchModel.h" #include "SearchView.h" @@ -210,9 +209,7 @@ void SearchController::removeSelectedC() std::stringstream saveIDF; saveIDF << "\boFailed to delete [" << saves[i] << "] ..."; notifyStatus(saveIDF.str()); - usleep(500*1000); } - usleep(100*1000); notifyProgress((float(i+1)/float(saves.size())*100)); } return true; @@ -264,9 +261,7 @@ void SearchController::unpublishSelectedC() std::stringstream saveIDF; saveIDF << "\boFailed to hide [" << saves[i] << "] ..."; notifyStatus(saveIDF.str()); - usleep(500*1000); } - usleep(100*1000); notifyProgress((float(i+1)/float(saves.size())*100)); } return true; @@ -298,9 +293,7 @@ void SearchController::FavouriteSelected() std::stringstream saveIDF; saveIDF << "\boFailed to favourite [" << saves[i] << "] ..."; notifyStatus(saveIDF.str()); - usleep(500*1000); } - usleep(100*1000); notifyProgress((float(i+1)/float(saves.size())*100)); } return true; |
