summaryrefslogtreecommitdiff
path: root/src/search/SearchController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/SearchController.cpp')
-rw-r--r--src/search/SearchController.cpp7
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;