Gui: Remove unused Command::updateAll.
This commit is contained in:
@@ -861,18 +861,6 @@ bool Command::isActiveObjectValid()
|
||||
return object->isValid();
|
||||
}
|
||||
|
||||
/// Updates the (all or listed) documents (propagate changes)
|
||||
void Command::updateAll(std::list<Gui::Document*> cList)
|
||||
{
|
||||
if (!cList.empty()) {
|
||||
for (auto & it : cList)
|
||||
it->onUpdate();
|
||||
}
|
||||
else {
|
||||
Gui::Application::Instance->onUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Online help handling
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
@@ -418,8 +418,6 @@ public:
|
||||
static bool hasPendingCommand();
|
||||
/// Updates the (active) document (propagate changes)
|
||||
static void updateActive();
|
||||
/// Updates the (all or listed) documents (propagate changes)
|
||||
static void updateAll(std::list<Gui::Document*> cList);
|
||||
/// Checks if the active object of the active document is valid
|
||||
static bool isActiveObjectValid();
|
||||
/// Translate command
|
||||
|
||||
Reference in New Issue
Block a user