Changeset View
Changeset View
Standalone View
Standalone View
krita/main.cc
Show First 20 Lines • Show All 401 Lines • ▼ Show 20 Line(s) | 398 | #endif | |||
---|---|---|---|---|---|
402 | // and stored in a KConfig object we have no control over. | 402 | // and stored in a KConfig object we have no control over. | ||
403 | app.askClearConfig(); | 403 | app.askClearConfig(); | ||
404 | 404 | | |||
405 | KisApplicationArguments args(app); | 405 | KisApplicationArguments args(app); | ||
406 | 406 | | |||
407 | if (singleApplication && app.isRunning()) { | 407 | if (singleApplication && app.isRunning()) { | ||
408 | // only pass arguments to main instance if they are not for batch processing | 408 | // only pass arguments to main instance if they are not for batch processing | ||
409 | // any batch processing would be done in this separate instance | 409 | // any batch processing would be done in this separate instance | ||
410 | const bool batchRun = args.exportAs(); | 410 | const bool batchRun = args.exportAs() || args.exportSequence(); | ||
411 | 411 | | |||
412 | if (!batchRun) { | 412 | if (!batchRun) { | ||
413 | QByteArray ba = args.serialize(); | 413 | QByteArray ba = args.serialize(); | ||
414 | if (app.sendMessage(ba)) { | 414 | if (app.sendMessage(ba)) { | ||
415 | return 0; | 415 | return 0; | ||
416 | } | 416 | } | ||
417 | } | 417 | } | ||
418 | } | 418 | } | ||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |