MCPcopy Create free account
hub / github.com/MultiMC/Launcher / droppedURLs

Method droppedURLs

launcher/ui/MainWindow.cpp:1467–1482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465}
1466
1467void MainWindow::droppedURLs(QList<QUrl> urls)
1468{
1469 for(auto & url:urls)
1470 {
1471 if(url.isLocalFile())
1472 {
1473 addInstance(url.toLocalFile());
1474 }
1475 else
1476 {
1477 addInstance(url.toString());
1478 }
1479 // Only process one dropped file...
1480 break;
1481 }
1482}
1483
1484void MainWindow::on_actionREDDIT_triggered()
1485{

Callers 2

messageReceivedMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected