[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

qsstv user guide patch



You may already take care of this but I don't know about packaging for
Debian to know for sure but I was working on getting qsstv updated on
Fedora and found your patches useful. One thing I noticed though is
that you update the doc install location like I do but you also need
to update the default location in the program so it knows where to
find it in About->User Guide. Here's the relevant part of the patch I
use:

diff -Naur qsstv_7.1.7.orig/src/configdialog.cpp
qsstv_7.1.7/src/configdialog.cpp
--- qsstv_7.1.7.orig/src/configdialog.cpp       2011-12-29
05:06:12.000000000 -0600
+++ qsstv_7.1.7/src/configdialog.cpp    2012-08-06 13:40:42.420234818 -0500
@@ -100,7 +100,7 @@
        txImagesPath=qSettings.value("txImagesPath",QString(getenv("HOME"))+"/").toString();
        templatesPath=qSettings.value("templatesPath",QString(getenv("HOME"))+"/").toString();
        audioPath=qSettings.value("audioPath",QString(getenv("HOME"))+"/").toString();
-       docPath
=qSettings.value("docPath",QString("/usr/share/doc/qsstv/")).toString();
+       docPath
=qSettings.value("docPath",QString("/usr/share/doc/qsstv/html/")).toString();
        defaultImageFormat=qSettings.value("defaultImageFormat","png").toString();
        samplingrate=qSettings.value("samplingrate",11025).toInt();
        rxClock=qSettings.value("rxclock",11025.).toDouble();

73,
Richard
KF5OIM


Reply to: