mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 10:22:15 -07:00
Fix Build
This commit is contained in:
parent
4f94aa8c5b
commit
e0e84007fa
4 changed files with 8 additions and 5 deletions
|
|
@ -669,15 +669,15 @@ DeckEditorSettingsPage::DeckEditorSettingsPage()
|
||||||
lpSpoilerGrid->addWidget(updateNowButton, 2, 1);
|
lpSpoilerGrid->addWidget(updateNowButton, 2, 1);
|
||||||
lpSpoilerGrid->addWidget(&infoOnSpoilersLabel, 3, 0, 1, 3, Qt::AlignTop);
|
lpSpoilerGrid->addWidget(&infoOnSpoilersLabel, 3, 0, 1, 3, Qt::AlignTop);
|
||||||
|
|
||||||
// On a change to the check box, hide/unhide the other fields
|
// On a change to the checkbox, hide/un-hide the other fields
|
||||||
connect(&mcDownloadSpoilersCheckBox, SIGNAL(toggled(bool)), &SettingsCache::instance(),
|
connect(&mcDownloadSpoilersCheckBox, SIGNAL(toggled(bool)), &SettingsCache::instance(),
|
||||||
SLOT(setDownloadSpoilerStatus(bool)));
|
SLOT(setDownloadSpoilerStatus(bool)));
|
||||||
connect(&mcDownloadSpoilersCheckBox, SIGNAL(toggled(bool)), this, SLOT(setSpoilersEnabled(bool)));
|
connect(&mcDownloadSpoilersCheckBox, SIGNAL(toggled(bool)), this, SLOT(setSpoilersEnabled(bool)));
|
||||||
connect(&pixmapCacheEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(), SLOT(setPixmapCacheSize(int)));
|
connect(&pixmapCacheEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(), SLOT(setPixmapCacheSize(int)));
|
||||||
connect(&networkRedirectCacheTtlEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(),
|
|
||||||
SLOT(setNetworkRedirectCacheTtl(int)));
|
|
||||||
connect(&networkCacheEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(),
|
connect(&networkCacheEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(),
|
||||||
SLOT(setNetworkCacheSizeInMB(int)));
|
SLOT(setNetworkCacheSizeInMB(int)));
|
||||||
|
connect(&networkRedirectCacheTtlEdit, SIGNAL(valueChanged(int)), &SettingsCache::instance(),
|
||||||
|
SLOT(setNetworkRedirectCacheTtl(int)));
|
||||||
|
|
||||||
mpGeneralGroupBox = new QGroupBox;
|
mpGeneralGroupBox = new QGroupBox;
|
||||||
mpGeneralGroupBox->setLayout(lpGeneralGrid);
|
mpGeneralGroupBox->setLayout(lpGeneralGrid);
|
||||||
|
|
|
||||||
|
|
@ -658,7 +658,7 @@ void SettingsCache::setNetworkCacheSizeInMB(const int _networkCacheSize)
|
||||||
emit networkCacheSizeChanged(networkCacheSize);
|
emit networkCacheSizeChanged(networkCacheSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsCache::setRedirectCacheTtl(const int _redirectCacheTtl)
|
void SettingsCache::setNetworkRedirectCacheTtl(const int _redirectCacheTtl)
|
||||||
{
|
{
|
||||||
redirectCacheTtl = _redirectCacheTtl;
|
redirectCacheTtl = _redirectCacheTtl;
|
||||||
settings->setValue("personal/redirectCacheSize", redirectCacheTtl);
|
settings->setValue("personal/redirectCacheSize", redirectCacheTtl);
|
||||||
|
|
|
||||||
|
|
@ -572,7 +572,7 @@ public slots:
|
||||||
void setIgnoreUnregisteredUserMessages(QT_STATE_CHANGED_T _ignoreUnregisteredUserMessages);
|
void setIgnoreUnregisteredUserMessages(QT_STATE_CHANGED_T _ignoreUnregisteredUserMessages);
|
||||||
void setPixmapCacheSize(const int _pixmapCacheSize);
|
void setPixmapCacheSize(const int _pixmapCacheSize);
|
||||||
void setNetworkCacheSizeInMB(const int _networkCacheSize);
|
void setNetworkCacheSizeInMB(const int _networkCacheSize);
|
||||||
void setRedirectCacheTtl(const int _redirectCacheTtl);
|
void setNetworkRedirectCacheTtl(const int _redirectCacheTtl);
|
||||||
void setCardScaling(const QT_STATE_CHANGED_T _scaleCards);
|
void setCardScaling(const QT_STATE_CHANGED_T _scaleCards);
|
||||||
void setStackCardOverlapPercent(const int _verticalCardOverlapPercent);
|
void setStackCardOverlapPercent(const int _verticalCardOverlapPercent);
|
||||||
void setShowMessagePopups(const QT_STATE_CHANGED_T _showMessagePopups);
|
void setShowMessagePopups(const QT_STATE_CHANGED_T _showMessagePopups);
|
||||||
|
|
|
||||||
|
|
@ -220,6 +220,9 @@ void SettingsCache::setPixmapCacheSize(const int /* _pixmapCacheSize */)
|
||||||
void SettingsCache::setNetworkCacheSizeInMB(const int /* _networkCacheSize */)
|
void SettingsCache::setNetworkCacheSizeInMB(const int /* _networkCacheSize */)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void SettingsCache::setNetworkRedirectCacheTtl(const int /* _redirectCacheTtl */)
|
||||||
|
{
|
||||||
|
}
|
||||||
void SettingsCache::setClientID(const QString & /* _clientID */)
|
void SettingsCache::setClientID(const QString & /* _clientID */)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue