Install launcher before registering URL scheme
This commit is contained in:
parent
f18bf46fb1
commit
b383dad6ac
|
@ -236,6 +236,7 @@ void Application::run() {
|
|||
refreshGlobalProxy(); // Depends on app settings being read.
|
||||
|
||||
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
|
||||
Platform::InstallLauncher();
|
||||
RegisterUrlScheme();
|
||||
Platform::NewVersionLaunched(old);
|
||||
}
|
||||
|
|
|
@ -867,7 +867,6 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
|||
}
|
||||
|
||||
void NewVersionLaunched(int oldVersion) {
|
||||
InstallLauncher();
|
||||
if (oldVersion > 0
|
||||
&& oldVersion <= 4000002
|
||||
&& qEnvironmentVariableIsSet("WAYLAND_DISPLAY")
|
||||
|
|
Loading…
Reference in New Issue