MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / executeArguments

Method executeArguments

lightscreenwindow.cpp:366–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366void LightscreenWindow::executeArguments(const QStringList &arguments)
367{
368 // If we just have the default argument, call "--wake"
369 if (arguments.count() == 1 && (arguments.at(0) == qApp->arguments().at(0) || arguments.at(0).contains(QFileInfo(qApp->applicationFilePath()).fileName()))) {
370 executeArgument("--wake");
371 return;
372 }
373
374 for (auto argument : arguments) {
375 executeArgument(argument);
376 }
377}
378
379void LightscreenWindow::notify(const Screenshot::Result &result)
380{

Callers 1

mainFunction · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected