2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix sending files from "Send To" in Windows.

Regression was introduced in 8e433971c9.
This commit is contained in:
John Preston
2017-09-05 16:40:39 +03:00
parent ea082e9604
commit a09fa1b267
3 changed files with 77 additions and 42 deletions

View File

@@ -28,7 +28,7 @@ int main(int argc, char *argv[]) {
#endif // Q_OS_MAC
QCoreApplication::setApplicationName(qsl("TelegramDesktop"));
settingsParseArgs(argc, argv);
InitFromCommandLine(argc, argv);
if (cLaunchMode() == LaunchModeFixPrevious) {
return psFixPrevious();
} else if (cLaunchMode() == LaunchModeCleanup) {