mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 03:53:34 +02:00
more CR feedback
This commit is contained in:
parent
088cdae320
commit
f07884602a
2 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
qint64 getBytesLeftToRead() const { return _data.size() - _position; }
|
||||
|
||||
udt::Packet::MessageNumber getMessageNumber() const { return _messageNumber; }
|
||||
const udt::Packet::MessageNumber& getMessageNumber() const { return _messageNumber; }
|
||||
|
||||
void seek(qint64 position) { _position = position; }
|
||||
|
||||
|
|
|
@ -395,8 +395,8 @@ public:
|
|||
|
||||
const QUrl& getURL() const { return _url; }
|
||||
|
||||
int getDownloadAttempts() { return _attempts; }
|
||||
int getDownloadAttemptsRemaining() { return _attemptsRemaining; }
|
||||
unsigned int getDownloadAttempts() { return _attempts; }
|
||||
unsigned int getDownloadAttemptsRemaining() { return _attemptsRemaining; }
|
||||
|
||||
signals:
|
||||
/// Fired when the resource begins downloading.
|
||||
|
@ -476,11 +476,11 @@ private:
|
|||
qint64 _bytesReceived{ 0 };
|
||||
qint64 _bytesTotal{ 0 };
|
||||
qint64 _bytes{ 0 };
|
||||
int _attempts{ 0 };
|
||||
unsigned int _attempts{ 0 };
|
||||
|
||||
const int MAX_ATTEMPTS = 8;
|
||||
static const int MAX_ATTEMPTS = 8;
|
||||
|
||||
int _attemptsRemaining { MAX_ATTEMPTS };
|
||||
unsigned int _attemptsRemaining { MAX_ATTEMPTS };
|
||||
bool _isInScript{ false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue