Combine startUrls and sendPaths

This commit allows to handle multiple URLs of all types as positional arguments simultaneously:
* tg:// links
* tonsite:// links
* interpret:// file paths
* generic file paths (to share files)

This allows to Drag'n'Drop files to the Telegram shortcut/binary.
This commit is contained in:
Ilya Fedin
2025-10-15 18:36:54 +00:00
committed by John Preston
parent f787e0fa1d
commit 5fbf280e4a
9 changed files with 90 additions and 152 deletions

View File

@@ -20,8 +20,7 @@ bool gManyInstance = false;
QString gKeyFile;
QString gWorkingDir;
QStringList gSendPaths;
QString gStartUrl;
QList<QUrl> gStartUrls;
QString gDialogLastPath, gDialogHelperPath; // optimize QFileDialog