| 718 | |
| 719 | |
| 720 | void UBApplication::handleOpenMessage(quint32 instanceId, QByteArray message) |
| 721 | { |
| 722 | Q_UNUSED(instanceId) |
| 723 | |
| 724 | QString filename = QString::fromUtf8(message); |
| 725 | qDebug() << "received message" << filename; |
| 726 | |
| 727 | if (filename == UBSettings::appPingMessage) |
| 728 | { |
| 729 | qDebug() << "received ping"; |
| 730 | return; |
| 731 | } |
| 732 | |
| 733 | qDebug() << "importing file" << filename; |
| 734 | |
| 735 | UBApplication::applicationController->importFile(filename); |
| 736 | |
| 737 | return; |
| 738 | } |
| 739 | |
| 740 | void UBApplication::cleanup() |
| 741 | { |
nothing calls this directly
no test coverage detected