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

Method droppedURLs

launcher/ui/MainWindow.cpp:1485–1500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1483}
1484
1485void MainWindow::droppedURLs(QList<QUrl> urls)
1486{
1487 for(auto & url:urls)
1488 {
1489 if(url.isLocalFile())
1490 {
1491 addInstance(url.toLocalFile());
1492 }
1493 else
1494 {
1495 addInstance(url.toString());
1496 }
1497 // Only process one dropped file...
1498 break;
1499 }
1500}
1501
1502void MainWindow::on_actionREDDIT_triggered()
1503{

Callers 2

messageReceivedMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected