mumble/src
Robert Adam 6f0b334bb2 FIX(client): Auto-connect not working for --multiple
"--config" is parsed before the main argument parsing loop. Then these
arguments are captured a second time in the else clause and shoved
into the "url" variable.

Having a valid url (the path to a config is a valid file URL) causes the
app to post an OpenURLEvent. This is pretty harmless, it just causes the
settings to load again. But the bigger problem is that
Global::get().mw->on_qaServerConnect_triggered(true) is not called. So,
even if you have autoconnect enabled, launching mumble with "--multiple
--config PATH" won't actually autoconnect.

This commit fixes this by skipping over the "--config" arguments in the
main parsing loop.
2021-04-26 21:09:28 +02:00
..
crypto MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
mumble FIX(client): Auto-connect not working for --multiple 2021-04-26 21:09:28 +02:00
mumble_exe MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
murmur FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
murmur_grpcwrapper_protoc_plugin MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
tests FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ACL.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
ACL.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Ban.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Ban.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
ByteSwap.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Channel.cpp FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
Channel.h FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ChannelListener.cpp FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ChannelListener.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
CMakeLists.txt FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
Connection.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Connection.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
CryptState.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
EnvUtils.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
EnvUtils.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
FFDHE.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
FFDHE.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
FFDHETable.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Group.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Group.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
HostAddress.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
HostAddress.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
HTMLFilter.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
HTMLFilter.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
License.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
License.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
licenses.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
LogEmitter.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
LogEmitter.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Message.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
Mumble.proto FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
MumbleConstants.h FEAT(client): Plugin framework 2021-04-16 20:15:44 +02:00
Net.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Net.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
OSInfo.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
OSInfo.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
PacketDataStream.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
PasswordGenerator.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
PasswordGenerator.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
PlatformCheck.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
PlatformCheck.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
ProcessResolver.cpp FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
ProcessResolver.h FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
QtUtils.cpp FORMAT: Run clang-format 10 on all source files 2021-04-16 21:05:52 +02:00
QtUtils.h REFAC(client): Put qsslStringConversion to QtUtils 2021-03-06 18:57:22 +01:00
SelfSignedCertificate.cpp FIX(client): Use Utf8 for name field in certificat 2021-03-17 20:46:30 +01:00
SelfSignedCertificate.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ServerAddress.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ServerAddress.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ServerResolver.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
ServerResolver.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ServerResolverRecord.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
ServerResolverRecord.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
SignalCurry.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
SpeechFlags.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
SSL.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
SSL.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
SSLCipherInfo.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
SSLCipherInfo.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
SSLCipherInfoTable.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
SSLLocks.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
SSLLocks.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Timer.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Timer.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
UnresolvedServerAddress.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
UnresolvedServerAddress.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
User.cpp MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
User.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
Utils.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Version.cpp MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00
Version.h MAINT: Update copyright notice to 2021 (Part II) 2021-04-09 15:41:49 +02:00
win.h MAINT: Update copyright notice to 2021 2021-03-02 10:15:01 +01:00