MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / receiveInfoFromSecondaryInstance

Method receiveInfoFromSecondaryInstance

src/NotepadNextApplication.cpp:381–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void 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
398bool NotepadNextApplication::isRunningAsAdmin() const
399{

Callers

nothing calls this directly

Calls 1

parseCommandLineFunction · 0.85

Tested by

no test coverage detected