| 379 | } |
| 380 | |
| 381 | void NotepadNextApplication::receiveInfoFromSecondaryInstance(quint32 instanceId, QByteArray message) |
| 382 | { |
| 383 | qInfo(Q_FUNC_INFO); |
| 384 | |
| 385 | Q_UNUSED(instanceId) |
| 386 | |
| 387 | QDataStream stream(&message, QIODevice::ReadOnly); |
| 388 | QStringList args; |
| 389 | |
| 390 | stream >> args; |
| 391 | |
| 392 | QCommandLineParser parser; |
| 393 | parseCommandLine(parser, args); |
| 394 | |
| 395 | openFiles(parser.positionalArguments()); |
| 396 | } |
| 397 | |
| 398 | bool NotepadNextApplication::isRunningAsAdmin() const |
| 399 | { |
nothing calls this directly
no test coverage detected