Fix build

KDE_DEFAULT_WINDOWFLAGS needs to be replaced by Qt::WindowFlags with the
set compile options.

CCMAIL: montel@kde.org
parent 11248e64
......@@ -57,7 +57,7 @@ public:
/**
* Constructor
*/
KTron::KTron(QWidget *parent) : KXmlGuiWindow(parent, KDE_DEFAULT_WINDOWFLAGS) {
KTron::KTron(QWidget *parent) : KXmlGuiWindow(parent, Qt::WindowFlags()) {
m_tron = new Tron(this);
connect(m_tron, &Tron::gameEnds, this, &KTron::changeStatus);
connect(m_tron, &Tron::updatedScore, this, &KTron::updateScore);
......
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