Single instance works
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 23 Aug 2011 18:47:15 +0000 (21:47 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 23 Aug 2011 18:51:06 +0000 (21:51 +0300)
chessclock.desktop
main.cpp
qtc_packaging/debian_harmattan/rules

index 72a27cd..fe3e48c 100644 (file)
@@ -5,7 +5,7 @@ Type=Application
 Terminal=false
 Name=Chess Clock
 Exec=invoker --single-instance --type=d /opt/chessclock/bin/chessclock
-Icon=/usr/share/icons/hicolor/64x64/apps/chessclock.svg
+Icon=/usr/share/icons/hicolor/64x64/apps/chessclock.png
 X-Window-Icon=
 X-HildonDesk-ShowInToolbar=true
 X-Osso-Type=application/x-executable
index cda3d95..c58099f 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -24,7 +24,7 @@
 #include "classes/wrappedclockswidget.h"
 
 
-int main(int argc, char *argv[])
+Q_DECL_EXPORT int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);
     app.setStyleSheet("* {color: white}");
index e9c15e8..ddb1cf1 100755 (executable)
@@ -49,7 +49,7 @@ install: build
        dh_installdirs
 
        # Add here commands to install the package into debian/chessclock.
-       $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/chessclock install
+       $(MAKE)  INSTALL_ROOT="$(CURDIR)"/debian/chessclock install
 
 
 # Build architecture-independent files here.