mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 19:23:04 +02:00
Fix replace-avatar-url option
Fixes [WARNING] [default] QCommandLineParser: option not defined: "replaceAvatarURL"
This commit is contained in:
parent
cf9e93b611
commit
76efc414f1
1 changed files with 2 additions and 2 deletions
|
@ -1453,8 +1453,8 @@ Application::Application(
|
|||
// If someone specifies both --avatarURL and --replaceAvatarURL,
|
||||
// the replaceAvatarURL wins. So only set the _overrideUrl if this
|
||||
// does have a non-empty string.
|
||||
if (parser.isSet("replaceAvatarURL")) {
|
||||
QString replaceURL = parser.value("replaceAvatarURL");
|
||||
if (parser.isSet("replace-avatar-url")) {
|
||||
QString replaceURL = parser.value("replace-avatar-url");
|
||||
_avatarOverrideUrl = QUrl::fromUserInput(replaceURL);
|
||||
_saveAvatarOverrideUrl = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue