2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Version 0.10.9: don't handle cStartUrl() while passcoded.

This commit is contained in:
John Preston
2016-10-03 11:20:02 +03:00
parent 4a5f467560
commit e1a8c89ff1
4 changed files with 21 additions and 10 deletions

View File

@@ -303,9 +303,8 @@ void Application::readClients() {
if (!startUrl.isEmpty()) {
cSetStartUrl(startUrl);
}
if (!cStartUrl().isEmpty() && App::main() && App::self()) {
App::main()->openLocalUrl(cStartUrl());
cSetStartUrl(QString());
if (auto main = App::main()) {
main->checkStartUrl();
}
}