Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
3c598531
Commit
3c598531
authored
Oct 02, 2014
by
Gavin Bisesi
Browse files
Merge pull request #342 from acron0/auto-connect-fix
[Issue 340] Changed 'value' to 'setValue' in settingsCache.cpp
parents
263b5a40
1f58f7d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/settingscache.cpp
View file @
3c598531
...
...
@@ -272,7 +272,7 @@ void SettingsCache::setMainWindowGeometry(const QByteArray &_mainWindowGeometry)
void
SettingsCache
::
setAutoConnect
(
const
bool
&
_autoConnect
)
{
attemptAutoConnect
=
_autoConnect
;
settings
->
v
alue
(
"server/auto_connect"
,
attemptAutoConnect
?
1
:
0
);
settings
->
setV
alue
(
"server/auto_connect"
,
attemptAutoConnect
?
1
:
0
);
}
void
SettingsCache
::
copyPath
(
const
QString
&
src
,
const
QString
&
dst
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment