Cleanup: remove unused GHOST function getAnyModifiedState.
Remove unused GHOST_WindowManager::getAnyModifiedState()
This commit is contained in:
parent
7f4ee97b9e
commit
a83502f05f
|
@ -162,17 +162,3 @@ GHOST_IWindow *GHOST_WindowManager::getWindowAssociatedWithOSWindow(void *osWind
|
|||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool GHOST_WindowManager::getAnyModifiedState()
|
||||
{
|
||||
bool isAnyModified = false;
|
||||
std::vector<GHOST_IWindow *>::iterator iter;
|
||||
|
||||
for (iter = m_windows.begin(); iter != m_windows.end(); ++iter) {
|
||||
if ((*iter)->getModifiedState()) {
|
||||
isAnyModified = true;
|
||||
}
|
||||
}
|
||||
|
||||
return isAnyModified;
|
||||
}
|
||||
|
|
|
@ -109,12 +109,6 @@ class GHOST_WindowManager {
|
|||
*/
|
||||
GHOST_IWindow *getWindowAssociatedWithOSWindow(void *osWindow);
|
||||
|
||||
/**
|
||||
* Return true if any windows has a modified status
|
||||
* \return True if any window has unsaved changes
|
||||
*/
|
||||
bool getAnyModifiedState();
|
||||
|
||||
protected:
|
||||
/** The list of windows managed */
|
||||
std::vector<GHOST_IWindow *> m_windows;
|
||||
|
|
Loading…
Reference in New Issue