diff --git a/ktron.cpp b/ktron.cpp index 5387df3d995b8ada2b26bbec0777bfc5e32781e4..4902d83c18d4d24d7a3d8a16ae1e6754e3016204 100644 --- a/ktron.cpp +++ b/ktron.cpp @@ -35,9 +35,9 @@ #include #include #include -#include +#include #include -#include +#include #define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API #include @@ -137,7 +137,7 @@ KTron::KTron(QWidget *parent) : KXmlGuiWindow(parent, KDE_DEFAULT_WINDOWFLAGS) { // New KStandardGameAction::gameNew(m_tron, SLOT(newGame()), actionCollection()); // Quit - KStandardGameAction::quit(kapp, SLOT(quit()), actionCollection()); + KStandardGameAction::quit(qApp, SLOT(quit()), actionCollection()); // Settings KStandardAction::preferences(this, SLOT(showSettings()), actionCollection()); // Configure keys diff --git a/main.cpp b/main.cpp index 5e240503f796033e8d0467854eaa5971494f47bb..692ac8a84f6c1dea5218efa3bebe0cbcb2db319f 100644 --- a/main.cpp +++ b/main.cpp @@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *******************************************************************************/ -#include +#include #include #include