| 524 | } |
| 525 | |
| 526 | ProjectController::ProjectController( Core* core ) |
| 527 | : IProjectController(core) |
| 528 | , d_ptr(new ProjectControllerPrivate(core, this)) |
| 529 | { |
| 530 | qRegisterMetaType<QList<QUrl>>(); |
| 531 | |
| 532 | setObjectName(QStringLiteral("ProjectController")); |
| 533 | |
| 534 | //NOTE: this is required to be called here, such that the |
| 535 | // actions are available when the UI controller gets |
| 536 | // initialized *before* the project controller |
| 537 | if (Core::self()->setupFlags() != Core::NoUi) { |
| 538 | setupActions(); |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | void ProjectController::setupActions() |
| 543 | { |
nothing calls this directly
no test coverage detected