ports/comms/cqrlog/files/patch-src_fPreferences.pas
Stephen Hurd e43afe1281 QRLOG is an advanced ham radio logger based on MySQL database. It provides
radio control based on hamlib libraries, DX cluster connection, band map,
QRZ.com/HamQTH.com callbook (XML access), IOTA support, a grayliner,
propagation indicator, xplanet support (maps in azimuthal projection centered
in your QTH), OK1RR free QSL manager database etc.

Reviewed by:	db, skreuzer
Approved by:	db, skreuzer (mentors)
Differential Revision:	https://phabric.freebsd.org/D313
2014-07-07 18:43:59 +00:00

29 lines
1.6 KiB
ObjectPascal

--- src/fPreferences.pas.orig 2014-06-30 23:39:36.000000000 -0700
+++ src/fPreferences.pas 2014-06-30 23:39:52.000000000 -0700
@@ -2471,7 +2471,7 @@
cb47GHz.Checked := cqrini.ReadBool('Bands', '47GHz', False);
cb76GHz.Checked := cqrini.ReadBool('Bands', '76GHz', False);
- edtRigCtldPath.Text := cqrini.ReadString('TRX', 'RigCtldPath', '/usr/bin/rigctld');
+ edtRigCtldPath.Text := cqrini.ReadString('TRX', 'RigCtldPath', '%%LOCALBASE%%/bin/rigctld');
edtR1Device.Text := cqrini.ReadString('TRX1', 'device', '');
edtRigID1.Text := cqrini.ReadString('TRX1', 'model', '');
@@ -2508,7 +2508,7 @@
cmbDTRR2.ItemIndex := cqrini.ReadInteger('TRX2', 'DTR', 0);
cmbRTSR2.ItemIndex := cqrini.ReadInteger('TRX2', 'RTS', 0);
- edtRotCtldPath.Text := cqrini.ReadString('ROT', 'RotCtldPath', '/usr/bin/rotctld');
+ edtRotCtldPath.Text := cqrini.ReadString('ROT', 'RotCtldPath', '%%LOCALBASE%%/bin/rotctld');
edtRot1Device.Text := cqrini.ReadString('ROT1', 'device', '');
edtRot1ID.Text := cqrini.ReadString('ROT1', 'model', '');
@@ -2725,7 +2725,7 @@
chkIgnoreBandFreq.Checked := cqrini.ReadBool('BandMap','IgnoreBandFreq',True);
chkUseNewQSOFreqMode.Checked := cqrini.ReadBool('BandMap','UseNewQSOFreqMode',False);
- edtXplanetPath.Text := cqrini.ReadString('xplanet', 'path', '/usr/bin/xplanet');
+ edtXplanetPath.Text := cqrini.ReadString('xplanet', 'path', '%%LOCALBASE%%/bin/xplanet');
edtXHeight.Text := cqrini.ReadString('xplanet', 'height', '100');
edtXWidth.Text := cqrini.ReadString('xplanet', 'width', '100');
edtXTop.Text := cqrini.ReadString('xplanet', 'top', '10');