summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Schwarzer <[email protected]>2016-01-07 02:50:56 +0100
committerFrederik Schwarzer <[email protected]>2016-01-07 02:50:56 +0100
commit6e5ab575a901ec17171460785e72b588608fc584 (patch)
treee3ce26089f2fffaf3776bc6b2ceba48a4395999c
parent20e7daa48cc238bef04fa69de799503dfb59096b (diff)
Set window icon.
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 55b6da3..fd9e700 100644
--- a/main.cpp
+++ b/main.cpp
@@ -87,6 +87,8 @@ int main(int argc, char* argv[])
KTron *ktron = new KTron();
ktron->show();
+ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("ksnakeduel")));
+
return app.exec();
}