mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 01:23:55 -07:00
Fix Windows Crash due to nullptr
This commit is contained in:
parent
bf63dc4ab7
commit
5e62069444
1 changed files with 3 additions and 1 deletions
|
|
@ -302,7 +302,9 @@ void GeneralSettingsPage::retranslateUi()
|
||||||
updateNotificationCheckBox.setText(tr("Notify if a feature supported by the server is missing in my client"));
|
updateNotificationCheckBox.setText(tr("Notify if a feature supported by the server is missing in my client"));
|
||||||
newVersionOracleCheckBox.setText(tr("Automatically run Oracle when running a new version of Cockatrice"));
|
newVersionOracleCheckBox.setText(tr("Automatically run Oracle when running a new version of Cockatrice"));
|
||||||
showTipsOnStartup.setText(tr("Show tips on startup"));
|
showTipsOnStartup.setText(tr("Show tips on startup"));
|
||||||
resetAllPathsButton->setText(tr("Reset all paths"));
|
if (resetAllPathsButton) {
|
||||||
|
resetAllPathsButton->setText(tr("Reset all paths"));
|
||||||
|
}
|
||||||
|
|
||||||
const auto &settings = SettingsCache::instance();
|
const auto &settings = SettingsCache::instance();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue