Skip to content
Snippets Groups Projects
Commit f5ce9b17 authored by Raquel Alvarez Banos's avatar Raquel Alvarez Banos
Browse files

Re #13899 Disable the system busy icon

parent 29021202
No related branches found
No related tags found
No related merge requests found
...@@ -80,8 +80,6 @@ namespace CustomInterfaces ...@@ -80,8 +80,6 @@ namespace CustomInterfaces
void setAvailablePeriods(const std::vector<std::string> &periods); void setAvailablePeriods(const std::vector<std::string> &periods);
void setTimeLimits(double tMin, double tMax); void setTimeLimits(double tMin, double tMax);
void setTimeRange (double tMin, double tMax); void setTimeRange (double tMin, double tMax);
void setWaitingCursor();
void restoreCursor();
void help(); void help();
// -- End of IALCDataLoadingView interface ----------------------------------------------------- // -- End of IALCDataLoadingView interface -----------------------------------------------------
......
...@@ -119,12 +119,6 @@ namespace CustomInterfaces ...@@ -119,12 +119,6 @@ namespace CustomInterfaces
/// @param tMax :: Maximum X value available /// @param tMax :: Maximum X value available
virtual void setTimeRange(double tMin, double tMax) = 0; virtual void setTimeRange(double tMin, double tMax) = 0;
/// Set waiting cursor for long operation
virtual void setWaitingCursor() = 0;
/// Restore the original cursor
virtual void restoreCursor() = 0;
/// Opens the Mantid Wiki web page /// Opens the Mantid Wiki web page
virtual void help() = 0; virtual void help() = 0;
......
...@@ -36,7 +36,6 @@ namespace CustomInterfaces ...@@ -36,7 +36,6 @@ namespace CustomInterfaces
void ALCDataLoadingPresenter::load() void ALCDataLoadingPresenter::load()
{ {
m_view->setWaitingCursor();
try try
{ {
...@@ -114,7 +113,6 @@ namespace CustomInterfaces ...@@ -114,7 +113,6 @@ namespace CustomInterfaces
m_view->displayError(e.what()); m_view->displayError(e.what());
} }
m_view->restoreCursor();
} }
void ALCDataLoadingPresenter::updateAvailableInfo() void ALCDataLoadingPresenter::updateAvailableInfo()
......
...@@ -221,15 +221,5 @@ namespace CustomInterfaces ...@@ -221,15 +221,5 @@ namespace CustomInterfaces
MantidQt::API::HelpWindow::showCustomInterface(NULL, QString("Muon_ALC")); MantidQt::API::HelpWindow::showCustomInterface(NULL, QString("Muon_ALC"));
} }
void ALCDataLoadingView::setWaitingCursor()
{
QApplication::setOverrideCursor(Qt::WaitCursor);
}
void ALCDataLoadingView::restoreCursor()
{
QApplication::restoreOverrideCursor();
}
} // namespace CustomInterfaces } // namespace CustomInterfaces
} // namespace MantidQt } // namespace MantidQt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment