Fixes in backup configuration file (scorecard.conf). Backup works now.
[scorecard] / scorecard.pro
index 2fd2cd9..a28297b 100644 (file)
@@ -10,6 +10,8 @@ CONFIG  += qt debug
 TEMPLATE = app
 QT      += xml maemo5
 
+#DEFINES += WANT_DEBUG
+
 RESOURCES = scorecard.qrc
 
 HEADERS  = \
@@ -17,6 +19,7 @@ src/score-common.h \
 src/main-window.h \
 src/score-dialog.h \
 src/course-dialog.h \
+src/settings-dialog.h \
 src/table-model.h \
 src/list-model.h \
 src/stat-model.h \
@@ -28,6 +31,7 @@ src/main.cpp \
 src/main-window.cpp \
 src/score-dialog.cpp \
 src/course-dialog.cpp \
+src/settings-dialog.cpp \
 src/table-model.cpp \
 src/list-model.cpp \
 src/stat-model.cpp \
@@ -41,30 +45,27 @@ unix {
     DATADIR = $$PREFIX/data
     IMGDIR = /usr/share/icons/hicolor
     MAEMODIR = /usr/share/applications/hildon
+    BACKUPDIR = /etc/osso-backup/applications
 
     DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
 
     #MAKE INSTALL    
-    INSTALLS += target data desktop iconxpm icon26 icon40 icon64
+    INSTALLS += target data desktop backup icon48
 
     target.path =$$BINDIR
 
     data.path = $$DATADIR
-    data.files += data/club.xml
-
+    data.files += data/club-master.xml
     desktop.path = $$MAEMODIR
     desktop.files += maemo/scorecard.desktop
 
+    backup.path = $$BACKUPDIR
+    backup.files += maemo/scorecard.conf
+
     iconxpm.path = /usr/share/pixmap
     iconxpm.files += images/scorecard.xpm 
 
-    icon26.path = $$IMGDIR/26x26/apps
-    icon26.files += images/scorecard_icon_26x26.png 
-
-    icon40.path = $$IMGADIR/40x40/apps
-    icon40.files += images/scorecard_icon_40x40.png 
-
-    icon64.path = $$IMGDIR/64x64/apps
-    icon64.files += images/scorecard_icon_64x64.png 
-    
+    icon48.path = $$IMGDIR/48x48/hildon
+    icon48.files += images/scorecard-icon-48x48.png     
 }