summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 683a405f..9bbf7792 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -406,6 +406,12 @@ MainWindow *Application::newMainWindow()
}
+void Application::removeMainWindow(MainWindow *window)
+{
+ m_mainWindows.removeAt(m_mainWindows.indexOf(window, 0));
+}
+
+
MainWindowList Application::mainWindowList()
{
return m_mainWindows;