mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Code cleanup
This commit is contained in:
parent
8591d3f34c
commit
324ac2e0f4
@ -1,9 +1,9 @@
|
|||||||
#include "tcxparser.h"
|
#include "tcxparser.h"
|
||||||
|
|
||||||
|
|
||||||
void TCXParser::warning(const char *text)
|
void TCXParser::warning(const char *text) const
|
||||||
{
|
{
|
||||||
QFile *file = static_cast<QFile *>(_reader.device());
|
const QFile *file = static_cast<QFile *>(_reader.device());
|
||||||
fprintf(stderr, "%s:%lld: %s\n", qPrintable(file->fileName()),
|
fprintf(stderr, "%s:%lld: %s\n", qPrintable(file->fileName()),
|
||||||
_reader.lineNumber(), text);
|
_reader.lineNumber(), text);
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
qreal number();
|
qreal number();
|
||||||
QDateTime time();
|
QDateTime time();
|
||||||
|
|
||||||
void warning(const char *text);
|
void warning(const char *text) const;
|
||||||
|
|
||||||
QXmlStreamReader _reader;
|
QXmlStreamReader _reader;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user