mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
assign new arrow id when arrow is moved to transformed card (#5012)
* add timeout to settingscache * assign new arrow id when arrow is moved to transformed card fixes bug introduced in #4907 fixes #5008
This commit is contained in:
parent
e8c7fba8b0
commit
f174614496
7 changed files with 30 additions and 11 deletions
|
|
@ -32,6 +32,7 @@ RemoteClient::RemoteClient(QObject *parent)
|
|||
{
|
||||
|
||||
clearNewClientFeatures();
|
||||
maxTimeout = SettingsCache::instance().getTimeOut();
|
||||
int keepalive = SettingsCache::instance().getKeepAlive();
|
||||
timer = new QTimer(this);
|
||||
timer->setInterval(keepalive * 1000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue