mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
Better single-instance handoff, url intent harded
copy game link context-menu Polish for installers Took 35 minutes Took 8 seconds
This commit is contained in:
parent
a9077aa65b
commit
0a1a80eadd
27 changed files with 257 additions and 84 deletions
|
|
@ -30,3 +30,19 @@ void Intent::runDependency(Intent *dependency)
|
|||
|
||||
dependency->execute();
|
||||
}
|
||||
|
||||
void Intent::emitFinished()
|
||||
{
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
emit finished();
|
||||
}
|
||||
}
|
||||
|
||||
void Intent::emitFailed(const QString &reason)
|
||||
{
|
||||
if (!completed) {
|
||||
completed = true;
|
||||
emit failed(reason);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue