Commit c353fbad authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE #295] - renamed run to load which is more a telling name

parent e24411c5
......@@ -56,13 +56,13 @@ WProjectFile::~WProjectFile()
// cleanup
}
void WProjectFile::run()
void WProjectFile::load()
{
// the instance needs to be added here, as it else could be freed before the thread finishes ( remember: it is a shared_ptr ).
WKernel::getRunningKernel()->getRootContainer()->addPendingThread( shared_from_this() );
// actually run
WThreadedRunner::run();
run();
}
void WProjectFile::threadMain()
......
......@@ -57,7 +57,7 @@ public:
/**
* Parses the project file and applies it. It applies the project file asynchronously!
*/
virtual void run();
virtual void load();
protected:
......
......@@ -396,7 +396,7 @@ void WMainWindow::projectLoad()
);
// This call is asynchronous. It parses the file and the starts a thread to actually do all the stuff
proj->run();
proj->load();
}
}
......
......@@ -172,7 +172,7 @@ int WQt4Gui::run()
);
// This call is asynchronous. It parses the file and the starts a thread to actually do all the stuff
proj->run();
proj->load();
}
catch( const WException& e )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment