diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 96254e07..b8d6f52f 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -353,7 +353,7 @@ MainWindow *Application::newMainWindow() void Application::removeMainWindow(MainWindow *window) { - m_mainWindows.removeAt(m_mainWindows.indexOf(window, 0)); + m_mainWindows.removeOne(window); } |