Changes done while in scratchbox
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 24 May 2011 16:05:12 +0000 (19:05 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 24 May 2011 16:05:12 +0000 (19:05 +0300)
Now creates the default save directory when installed and chowns it to
the user "user"
Updated the changelog

debian/changelog
debian/kitchenalert.postinst
src/kitchenalertmainwindow.cpp

index d305d25..9980a47 100755 (executable)
@@ -1,3 +1,11 @@
+kitchenalert (0.3.0-1) unstable; urgency=low
+
+  * a timer can now be saved to a file and loaded from it
+  * when removing a timer from the list, the selection is cleared ("restart" and "stop" buttons no longer active after last alert has been removed)
+  * "new timer" button now reacts to "clicking" (pressing and releasing) instead of just pressing for consistency with other buttons    
+
+ -- Heli Hyvättinen <heli.hyvattinen@kymp.net>  Mon,  9 May 2011 16:40:44 +0300
+
 kitchenalert (0.2.1-1) unstable; urgency=low
 
   * restored the ability to change the alert sound when there are no alerts in the list (closes #6857)
 kitchenalert (0.2.1-1) unstable; urgency=low
 
   * restored the ability to change the alert sound when there are no alerts in the list (closes #6857)
index 908ae73..aa3a41a 100644 (file)
@@ -34,6 +34,10 @@ group        = alarm" >> /usr/share/policy/etc/current/pulse/xpolicy.conf
 stop pulseaudio
 start pulseaudio
 
 stop pulseaudio
 start pulseaudio
 
+# give the default save directory to user "user" so it can be written to from the application 
+# (autocreating with kitchenalert.dirs gives it to root with no access rights to user)
+chown user /home/user/KitchenAlert
+
 fi
 
 exit 0
 fi
 
 exit 0
index 56783c4..0c3194b 100644 (file)
 #include <QSettings>
 #include <QFileDialog>
 
 #include <QSettings>
 #include <QFileDialog>
 
-  const QString defaultSaveDirectory_ = "/home/user/MyDocs/KitchenAlert/";
+
 
 
 KitchenAlertMainWindow::KitchenAlertMainWindow(QWidget *parent) :
     QMainWindow(parent),
     ui(new Ui::KitchenAlertMainWindow)
     {
 
 
 KitchenAlertMainWindow::KitchenAlertMainWindow(QWidget *parent) :
     QMainWindow(parent),
     ui(new Ui::KitchenAlertMainWindow)
     {
+      
+  defaultSaveDirectory_ = "/home/user/KitchenAlert";    
 
   ui->setupUi(this);
 
 
   ui->setupUi(this);