mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
refactor: remove ReleaseChannel keeping track of its own indexes (#5366)
This commit is contained in:
parent
c8d49b5bf9
commit
25d21a3da6
7 changed files with 13 additions and 18 deletions
|
|
@ -21,11 +21,8 @@
|
|||
|
||||
#define GIT_SHORT_HASH_LEN 7
|
||||
|
||||
int ReleaseChannel::sharedIndex = 0;
|
||||
|
||||
ReleaseChannel::ReleaseChannel() : netMan(new QNetworkAccessManager(this)), response(nullptr), lastRelease(nullptr)
|
||||
{
|
||||
index = sharedIndex++;
|
||||
}
|
||||
|
||||
ReleaseChannel::~ReleaseChannel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue