Skip to content

Commit 6519876

Browse files
committed
removeFirst commented
to make it compatible with qt<6.5
1 parent 77f759b commit 6519876

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/awards.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ Awards::~Awards()
7070
}
7171

7272

73-
74-
//void Awards::setAwardWAZ(const int _qsoId)
75-
//{
76-
//qDebug() << "Awards::setAwardWAZ: _qsoId: " << QString::number(_qsoId);
77-
// dataProxy->setWAZAwardStatus(_qsoId);
78-
//}
79-
8073
QString Awards::getQSOofAward (const int _enti, const int _bandid, const int _log, const bool _confirmed)
8174
{// Returns the QRZ that granted that status in the DXCC
8275
//qDebug() << "Awards::getQSOofAward: " << QString::number(_enti) << "/" << QString::number(_bandid);

src/awards.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class Awards : public QObject {
144144
int dxccStatusMode(const int _ent, const int band, const int _logNumber); //-1 error / 0 Not worked / 1 worked / 2 confirmed
145145
/**/
146146

147-
int setAwardWAZst(const int _cqz, const int _band, const int _mode, const bool _confirmed, const int _logNumber, const int _qsoId);
147+
//int setAwardWAZst(const int _cqz, const int _band, const int _mode, const bool _confirmed, const int _logNumber, const int _qsoId);
148148
/*
149149
_confirmed = 0 Set as Worked
150150
_confirmed = 1 Set as Confirmed

src/dxcluster/dxcluster.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ void DXClusterWidget::printSHDX(const QString _stringSpot)
405405
QString lastToken = intraSpot.last();
406406
if (lastToken.startsWith("<"))
407407
{
408-
lastToken.removeFirst();
408+
lastToken.remove(0,1);
409+
//lastToken.removeFirst();
409410
Callsign callsign(lastToken);
410411
if (callsign.isValid())
411412
{

0 commit comments

Comments
 (0)