summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Schwarzer <[email protected]>2015-10-12 23:54:31 +0200
committerFrederik Schwarzer <[email protected]>2015-10-12 23:54:31 +0200
commitc53df2b7e2a7e27d5f5dc371a5c52dcd3254be05 (patch)
treeae06bc9a913392c61f13f2d1cbd8903630283c24
parentb745e3aaa9686c8029d0217f784b64e01ff16e46 (diff)
Set application icon properly.
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index b644073..f2623cf 100644
--- a/main.cpp
+++ b/main.cpp
@@ -32,6 +32,7 @@
int main( int argc, char* argv[] )
{
QApplication app(argc, argv);
+ app.setWindowIcon(QIcon::fromTheme(QLatin1String( "klickety" )));
qsrand( time(0) );
KAboutData aboutData( "klickety", i18n( "Klickety" ), "2.0",
@@ -62,7 +63,6 @@ int main( int argc, char* argv[] )
if ( KSameMode ) {
- aboutData.setProgramIconName( "ksame" );
aboutData.setShortDescription( i18n( "A little game about balls and how to get rid of them" ) );
aboutData.addAuthor( i18n( "Marcus Kreutzberger"), i18n( "Original author" ), "[email protected]" );
aboutData.addAuthor( i18n( "Henrique Pinto"), i18n( "Past maintainer" ), "[email protected]" );