MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / selectionChanged

Method selectionChanged

launcher/ui/dialogs/ImportResourceDialog.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ImportResourceDialog::selectionChanged(QItemSelection selected, QItemSelection deselected)
60{
61 if (selected.empty())
62 return;
63
64 QString key = selected.first().indexes().first().data(InstanceList::InstanceIDRole).toString();
65 if (!key.isEmpty()) {
66 selectedInstanceKey = key;
67 }
68}
69
70ImportResourceDialog::~ImportResourceDialog()
71{

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
toStringMethod · 0.45
dataMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected