diff options
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r-- | src/sessionmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp index c93a229d..0c2c5c32 100644 --- a/src/sessionmanager.cpp +++ b/src/sessionmanager.cpp @@ -66,7 +66,7 @@ void SessionManager::saveSession() } QDataStream out(&sessionFile); MainWindowList wl = Application::instance()->mainWindowList(); - foreach(QPointer<MainWindow> w, wl) + Q_FOREACH(QPointer<MainWindow> w, wl) { out << QByteArray("window"); MainView *mv = w->mainView(); |