Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit d0a5f415 authored by Anthony Fieroni's avatar Anthony Fieroni

[akregator] Make sure part is created before main windows is restored

DIfferential Revision:

BUG: 381822
BUG: 378513
BUG: 381825
BUG: 377129
Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <>
parent 7428948e
......@@ -113,14 +113,11 @@ int main(int argc, char **argv)
// see if we are starting with session management
if (app.isSessionRestored()) {
#undef RESTORE
#define RESTORE(type) { int n = 1; \
while (KMainWindow::canBeRestored(n)) { \
(new type)->restore(n, false); \
n++;} \
auto mainWindow = new Akregator::MainWindow();
if (KMainWindow::canBeRestored(1)) {
mainWindow->restore(1, false);
return app.exec();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment