Changeset View
Changeset View
Standalone View
Standalone View
main_x11.cpp
Show First 20 Lines • Show All 474 Lines • ▼ Show 20 Line(s) | 454 | #endif | |||
---|---|---|---|---|---|
475 | a.initPlatform(plugins.first()); | 475 | a.initPlatform(plugins.first()); | ||
476 | if (!a.platform()) { | 476 | if (!a.platform()) { | ||
477 | std::cerr << "FATAL ERROR: could not instantiate the platform plugin" << std::endl; | 477 | std::cerr << "FATAL ERROR: could not instantiate the platform plugin" << std::endl; | ||
478 | return 1; | 478 | return 1; | ||
479 | } | 479 | } | ||
480 | 480 | | |||
481 | a.start(); | 481 | a.start(); | ||
482 | 482 | | |||
483 | KWin::SessionSaveDoneHelper helper; | | |||
484 | Q_UNUSED(helper); // The sessionsavedonehelper opens a side channel to the smserver, | | |||
485 | // listens for events and talks to it, so it needs to be created. | | |||
486 | return a.exec(); | 483 | return a.exec(); | ||
487 | } | 484 | } | ||
488 | 485 | | |||
489 | #include "main_x11.moc" | 486 | #include "main_x11.moc" |