Hi Stefan,

I take care of touchfreeze in Debian, recent QT changes caused touchfreeze
to segfault upon startup, this patch seems to fix it.

Thanks, Kel.

Description: QApplication's argc must be a reference.
Bug-Debian: http://bugs.debian.org/563038
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/touchfreeze/+bug/453581
---
--- a/TouchFreezeApp.h
+++ b/TouchFreezeApp.h
@@ -37,7 +37,7 @@ class TouchFreezeApp: public QApplicatio
 {
 Q_OBJECT
 public:
-  TouchFreezeApp( int argc, char* argv[] );
+  TouchFreezeApp( int& argc, char* argv[] );
   virtual ~TouchFreezeApp();
 
 protected:
--- a/TouchFreezeApp.cpp
+++ b/TouchFreezeApp.cpp
@@ -35,7 +35,7 @@
 #include <QString>
 #include <QProcess>
 
-TouchFreezeApp::TouchFreezeApp( int argc, char* argv[] ) : QApplication( argc, 
argv )
+TouchFreezeApp::TouchFreezeApp( int& argc, char* argv[] ) : QApplication( 
argc, argv )
 {
   if ( !QSystemTrayIcon::isSystemTrayAvailable() )
   {
---



_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

Reply via email to