Skip to content

Commit

Permalink
Closes #625, #624
Browse files Browse the repository at this point in the history
  • Loading branch information
ea4k committed Dec 12, 2023
1 parent b095c18 commit 4709116
Show file tree
Hide file tree
Showing 106 changed files with 12,253 additions and 11,018 deletions.
2 changes: 2 additions & 0 deletions src/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ Finish add, think/create/review QSO::modify, update: QString MainWindow::readDat
- Bugfix: All Gridsquares are now listed when Export to ADIF is used. (Closes #514)
- Bugfix: Selecting a sat with a new band made the bandcombobox unusable. #613
- Bugfix: F1 (online manual link fixed (Closes #627) (TNX ikbenkous)
- Bugfix: 'Usage' does not properly handle arguments, print newlines or return status codes (Closes #625) (TNX ikbenkous)
- Enhancement: Improved the Frequency entry. (Closes #622) (TNX ikbenkous)
- Enhancement: Use a good discriminator in header guards (Closes #624) (TNX ikbenkous)

Jun - 2.3.2
- Bugfix: KLog was not starting when started in clean installations.(Closes #599)(TNX cwross)
Expand Down
4 changes: 2 additions & 2 deletions src/aboutdialog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
#ifndef KLOG_ABOUTDIALOG_H
#define KLOG_ABOUTDIALOG_H

/***************************************************************************
aboutdialog.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/adif.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef ADIF_H
#define ADIF_H
#ifndef KLOG_ADIF_H
#define KLOG_ADIF_H
/***************************************************************************
adif.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/awarddxmarathon.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef AWARDDXMARATHON_H
#define AWARDDXMARATHON_H
#ifndef KLOG_AWARDDXMARATHON_H
#define KLOG_AWARDDXMARATHON_H
/***************************************************************************
awarddxmarathon.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/awards.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef AWARDS_H
#define AWARDS_H
#ifndef KLOG_AWARDS_H
#define KLOG_AWARDS_H
/***************************************************************************
awards.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/awardswidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef AWARDSWIDGET_H
#define AWARDSWIDGET_H
#ifndef KLOG_AWARDSWIDGET_H
#define KLOG_AWARDSWIDGET_H
/***************************************************************************
awardswidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statscqzperyearbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSCQZSPERYEARBARCHARTWIDGET_H
#define STATSCQZSPERYEARBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSCQZSPERYEARBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSCQZSPERYEARBARCHARTWIDGET_H
/***************************************************************************
statscqzperyearbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsdxccsonsatswidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSDXCCSONSATSWIDGET_H
#define STATSDXCCSONSATSWIDGET_H
#ifndef CHARTS_KLOG_STATSDXCCSONSATSWIDGET_H
#define CHARTS_KLOG_STATSDXCCSONSATSWIDGET_H
/***************************************************************************
statsdxccsonsatswidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsentitiesperyearbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSENTITIESPERYEARBARCHARTWIDGET_H
#define STATSENTITIESPERYEARBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSENTITIESPERYEARBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSENTITIESPERYEARBARCHARTWIDGET_H
/***************************************************************************
statsentitiesperyearbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsfieldperbandwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSFIELDPERBANDWIDGET_H
#define STATSFIELDPERBANDWIDGET_H
#ifndef KLOG_CHARTS_STATSFIELDPERBANDWIDGET_H
#define KLOG_CHARTS_STATSFIELDPERBANDWIDGET_H
/***************************************************************************
statsfieldperbandwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsgeneralchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSGENERALCHARTWIDGET_H
#define STATSGENERALCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSGENERALCHARTWIDGET_H
#define KLOG_CHARTS_STATSGENERALCHARTWIDGET_H
/***************************************************************************
statsgeneralchartwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsgridsonsatswidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSGRIDSONSATSWIDGET_H
#define STATSGRIDSONSATSWIDGET_H
#ifndef KLOG_CHARTS_STATSGRIDSONSATSWIDGET_H
#define KLOG_CHARTS_STATSGRIDSONSATSWIDGET_H
/***************************************************************************
statsgridsonsatswidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsosperbandbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERBANDBARCHARTWIDGET_H
#define STATSQSOSPERBANDBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERBANDBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERBANDBARCHARTWIDGET_H
/***************************************************************************
statsqsosperbandbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsospercontinentbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERCONTINENTBARCHARTWIDGET_H
#define STATSQSOSPERCONTINENTBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERCONTINENTBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERCONTINENTBARCHARTWIDGET_H
/***************************************************************************
statsqsospercontinentbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsosperdxccbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERDXCCBARCHARTWIDGET_H
#define STATSQSOSPERDXCCBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERDXCCBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERDXCCBARCHARTWIDGET_H
/***************************************************************************
statsqsosperdxccbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsosperhourbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERHOURBARCHARTWIDGET_H
#define STATSQSOSPERHOURBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERHOURBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERHOURBARCHARTWIDGET_H
/***************************************************************************
statsqsosperhourbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsospermodebarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERMODEBARCHARTWIDGET_H
#define STATSQSOSPERMODEBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERMODEBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERMODEBARCHARTWIDGET_H
/***************************************************************************
statsqsospermodebarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsospermonthbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERMONTHBARCHARTWIDGET_H
#define STATSQSOSPERMONTHBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERMONTHBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERMONTHBARCHARTWIDGET_H
/***************************************************************************
statsqsospermonthbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsqsosperyearbarchartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSQSOSPERYEARBARCHARTWIDGET_H
#define STATSQSOSPERYEARBARCHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSQSOSPERYEARBARCHARTWIDGET_H
#define KLOG_CHARTS_STATSQSOSPERYEARBARCHARTWIDGET_H
/***************************************************************************
statsqsosperyearbarchatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statssentconfirmedpiechartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSSENTCONFIRMEDPIECHARTWIDGET_H
#define STATSSENTCONFIRMEDPIECHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSSENTCONFIRMEDPIECHARTWIDGET_H
#define KLOG_CHARTS_STATSSENTCONFIRMEDPIECHARTWIDGET_H
/***************************************************************************
statssentconfirmedpiechatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsworkedconfirmedpiechartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSWORKEDCONFIRMEDPIECHARTWIDGET_H
#define STATSWORKEDCONFIRMEDPIECHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSWORKEDCONFIRMEDPIECHARTWIDGET_H
#define KLOG_CHARTS_STATSWORKEDCONFIRMEDPIECHARTWIDGET_H
/***************************************************************************
statsworkedconfirmedpiechatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/charts/statsworkedsentpiechartwidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STATSWORKEDSENTPIECHARTWIDGET_H
#define STATSWORKEDSENTPIECHARTWIDGET_H
#ifndef KLOG_CHARTS_STATSWORKEDSENTPIECHARTWIDGET_H
#define KLOG_CHARTS_STATSWORKEDSENTPIECHARTWIDGET_H
/***************************************************************************
statsworkedsentpiechatwidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/database.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DATABASE_H
#define DATABASE_H
#ifndef KLOG_DATABASE_H
#define KLOG_DATABASE_H
/***************************************************************************
database.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/dataproxy_sqlite.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DATAPROXY_SQLITE_H
#define DATAPROXY_SQLITE_H
#ifndef KLOG_DATAPROXY_SQLITE_H
#define KLOG_DATAPROXY_SQLITE_H

/***************************************************************************
dataproxy_sqlite.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/downloadcty.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DOWNLOADCTY_H
#define DOWNLOADCTY_H
#ifndef KLOG_DOWNLOADCTY_H
#define KLOG_DOWNLOADCTY_H
/***************************************************************************
downloadcty.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/dxccstatuswidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DXCCSTATUSWIDGET_H
#define DXCCSTATUSWIDGET_H
#ifndef KLOG_DXCCSTATUSWIDGET_H
#define KLOG_DXCCSTATUSWIDGET_H
/***************************************************************************
dxccstatuswidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/dxcluster.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DXCLUSTER_H
#define DXCLUSTER_H
#ifndef KLOG_DXCLUSTER_H
#define KLOG_DXCLUSTER_H
/***************************************************************************
dxcluster.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/elogclublog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef ELOGCLUBLOG_H
#define ELOGCLUBLOG_H
#ifndef KLOG_ELOGCLUBLOG_H
#define KLOG_ELOGCLUBLOG_H
/***************************************************************************
elogclublog.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/elogqrzlog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef ELOGQRZLOG_H
#define ELOGQRZLOG_H
#ifndef KLOG_ELOGQRZLOG_H
#define KLOG_ELOGQRZLOG_H
/***************************************************************************
elogqrzlog.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/eqslutilities.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef EQSLUTILITIES_H
#define EQSLUTILITIES_H
#ifndef KLOG_EQSLUTILITIES_H
#define KLOG_EQSLUTILITIES_H
/***************************************************************************
eqslutilities.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/fileawardmanager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef FILEAWARDMANAGER_H
#define FILEAWARDMANAGER_H
#ifndef KLOG_FILEAWARDMANAGER_H
#define KLOG_FILEAWARDMANAGER_H
/***************************************************************************
fileawardmanager.h - description
-------------------
Expand Down
2 changes: 1 addition & 1 deletion src/filemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ bool FileManager::adifReadLog2(const QString& tfileName, const int logN)
//qDebug() << Q_FUNC_INFO << " - END: file does not exist";
return false;
}
int qsos = howManyQSOsInFile (file);
//int qsos = howManyQSOsInFile (file);
//qDebug() << Q_FUNC_INFO << " - QSOs: " << QString::number(qsos);
qint64 pos = passHeader (file); // Position in the file to calculate where the header ends
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) /* Flawfinder: ignore */
Expand Down
4 changes: 2 additions & 2 deletions src/filemanager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef FILEMANAGER_H
#define FILEMANAGER_H
#ifndef KLOG_FILEMANAGER_H
#define KLOG_FILEMANAGER_H

/***************************************************************************
filemanager.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/global.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef GLOBAL_H
#define GLOBAL_H
#ifndef KLOG_GLOBAL_H
#define KLOG_GLOBAL_H

extern bool g_callsignCheck;

Expand Down
4 changes: 2 additions & 2 deletions src/hamlibclass.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef HAMLIBCLASS_H
#define HAMLIBCLASS_H
#ifndef KLOG_HAMLIBCLASS_H
#define KLOG_HAMLIBCLASS_H

/***************************************************************************
hamlibclass.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/infowidget.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef INFOWIDGET_H
#define INFOWIDGET_H
#ifndef KLOG_INFOWIDGET_H
#define KLOG_INFOWIDGET_H
/***************************************************************************
infowidget.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowinputcomment.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWINPUTCOMMENT_H
#define MAINWINDOWINPUTCOMMENT_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWINPUTCOMMENT_H
#define KLOG_INPUTWIDGETS_MAINWINDOWINPUTCOMMENT_H
/***************************************************************************
mainwindowminputcomment.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowinputeqsl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWINPUTEQSL_H
#define MAINWINDOWINPUTEQSL_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWINPUTEQSL_H
#define KLOG_INPUTWIDGETS_MAINWINDOWINPUTEQSL_H
/***************************************************************************
mainwindowinputeqsl.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowinputothers.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWINPUTOTHERS_H
#define MAINWINDOWINPUTOTHERS_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWINPUTOTHERS_H
#define KLOG_INPUTWIDGETS_MAINWINDOWINPUTOTHERS_H
/***************************************************************************
mainwindowminputothers.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowinputqsl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWINPUTQSL_H
#define MAINWINDOWINPUTQSL_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWINPUTQSL_H
#define KLOG_INPUTWIDGETS_MAINWINDOWINPUTQSL_H
/***************************************************************************
mainwindowinputqsl.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowinputqso.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWINPUTQSO_H
#define MAINWINDOWINPUTQSO_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWINPUTQSO_H
#define KLOG_INPUTWIDGETS_MAINWINDOWINPUTQSO_H
/***************************************************************************
mainwindowinputqso.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowmydatatab.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWMYDATATAB_H
#define MAINWINDOWMYDATATAB_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWMYDATATAB_H
#define KLOG_INPUTWIDGETS_MAINWINDOWMYDATATAB_H

/***************************************************************************
mainwindowmydatatab.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/inputwidgets/mainwindowsattab.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef MAINWINDOWSATTAB_H
#define MAINWINDOWSATTAB_H
#ifndef KLOG_INPUTWIDGETS_MAINWINDOWSATTAB_H
#define KLOG_INPUTWIDGETS_MAINWINDOWSATTAB_H
/***************************************************************************
mainwindowsattab.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/klogdefinitions.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef KLOGDEFINITIONS_H
#define KLOGDEFINITIONS_H
#ifndef KLOG_KLOGDEFINITIONS_H
#define KLOG_KLOGDEFINITIONS_H
/***************************************************************************
klogdefinitions.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/locator.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* *
*****************************************************************************/

#ifndef LOCATOR_H
#define LOCATOR_H
#ifndef KLOG_LOCATOR_H
#define KLOG_LOCATOR_H
#include <math.h>
#include <QString>
#include <QRegularExpression>
Expand Down
4 changes: 2 additions & 2 deletions src/logmodel.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LOGMODEL_H
#define LOGMODEL_H
#ifndef KLOG_LOGMODEL_H
#define KLOG_LOGMODEL_H
/***************************************************************************
logmodel.h - description
-------------------
Expand Down
4 changes: 2 additions & 2 deletions src/logwindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LOGWINDOW_H
#define LOGWINDOW_H
#ifndef KLOG_LOGWINDOW_H
#define KLOG_LOGWINDOW_H

/***************************************************************************
logwindow.h - description
Expand Down
4 changes: 2 additions & 2 deletions src/lotwutilities.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LOTWUTILITIES_H
#define LOTWUTILITIES_H
#ifndef KLOG_LOTWUTILITIES_H
#define KLOG_LOTWUTILITIES_H
/***************************************************************************
lotwutilities.h - description
-------------------
Expand Down
Loading

0 comments on commit 4709116

Please sign in to comment.