mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
fix error message (#5192)
`QObject::connect: No such slot UserInterfaceSettingsPage::setNotificationEnabled(Qt::CheckState) in /Users/Ricky/GitHub/Cockatrice/cockatrice/src/dialogs/dlg_settings.cpp:448`
This commit is contained in:
parent
27055944df
commit
a3f0807d47
2 changed files with 2 additions and 2 deletions
|
|
@ -524,7 +524,7 @@ UserInterfaceSettingsPage::UserInterfaceSettingsPage()
|
||||||
setLayout(mainLayout);
|
setLayout(mainLayout);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserInterfaceSettingsPage::setNotificationEnabled(int i)
|
void UserInterfaceSettingsPage::setNotificationEnabled(QT_STATE_CHANGED_T i)
|
||||||
{
|
{
|
||||||
specNotificationsEnabledCheckBox.setEnabled(i != 0);
|
specNotificationsEnabledCheckBox.setEnabled(i != 0);
|
||||||
buddyConnectNotificationsEnabledCheckBox.setEnabled(i != 0);
|
buddyConnectNotificationsEnabledCheckBox.setEnabled(i != 0);
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ class UserInterfaceSettingsPage : public AbstractSettingsPage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
private slots:
|
private slots:
|
||||||
void setNotificationEnabled(int);
|
void setNotificationEnabled(QT_STATE_CHANGED_T);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QCheckBox notificationsEnabledCheckBox;
|
QCheckBox notificationsEnabledCheckBox;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue