mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 13:30:00 -08:00
Isolate Continuumatrice URLs, updates, and card artwork sources
This commit is contained in:
parent
bd6477a28a
commit
0dbec26603
1 changed files with 2 additions and 2 deletions
|
|
@ -224,11 +224,11 @@ public:
|
||||||
explicit MainWindow(QWidget *parent = nullptr);
|
explicit MainWindow(QWidget *parent = nullptr);
|
||||||
void setConnectTo(QString url)
|
void setConnectTo(QString url)
|
||||||
{
|
{
|
||||||
connectTo = QUrl(QString("cockatrice://%1").arg(url));
|
connectTo = QUrl(QString("continuumatrice://%1").arg(url));
|
||||||
}
|
}
|
||||||
// When set, the window's own startup connection (--connect or auto-connect
|
// When set, the window's own startup connection (--connect or auto-connect
|
||||||
// on first activation) is skipped. Used for activation launches: the intent
|
// on first activation) is skipped. Used for activation launches: the intent
|
||||||
// chain triggered by a cockatrice:// URL owns the connection, and letting
|
// chain triggered by a continuumatrice:// URL owns the connection, and letting
|
||||||
// auto-connect race against it caused two connectToServer calls to tear
|
// auto-connect race against it caused two connectToServer calls to tear
|
||||||
// each other down. onUrlChainFinished() clears this and retries the startup
|
// each other down. onUrlChainFinished() clears this and retries the startup
|
||||||
// connection when the link's chain ended without connecting.
|
// connection when the link's chain ended without connecting.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue