| 440 | } |
| 441 | |
| 442 | void QuickOpenPlugin::showQuickOpen(const QStringList& items) |
| 443 | { |
| 444 | if (!freeModel()) { |
| 445 | return; |
| 446 | } |
| 447 | |
| 448 | QStringList initialItems = items; |
| 449 | |
| 450 | QStringList useScopes = lastUsedScopes; |
| 451 | |
| 452 | const QString scopeCurrentlyOpenName = Strings::scopeCurrentlyOpenName(); |
| 453 | if (!useScopes.contains(scopeCurrentlyOpenName)) { |
| 454 | useScopes << scopeCurrentlyOpenName; |
| 455 | } |
| 456 | |
| 457 | showQuickOpenWidget(initialItems, useScopes, false); |
| 458 | } |
| 459 | |
| 460 | void QuickOpenPlugin::showQuickOpen(ModelTypes modes) |
| 461 | { |
nothing calls this directly
no test coverage detected