warnings--: helper needs to be created, but appears to be unused

This commit is contained in:
Boudewijn Rempt 2015-06-12 03:11:14 +02:00
parent 955b0bb8e8
commit e946e5e0db

View file

@ -298,6 +298,7 @@ KWIN_EXPORT int kdemain(int argc, char * argv[])
KWin::SessionManager weAreIndeed;
#endif
KWin::SessionSaveDoneHelper helper;
Q_UNUSED(helper); // The sessionsavedonehelper opens a side channel to the smserver,
// listens for events and talks to it, so it needs to be created.
return a.exec();
}