MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / BrowseForFile

Method BrowseForFile

launcher/ui/GuiUtil.cpp:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172QString GuiUtil::BrowseForFile(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget)
173{
174 auto resultList = BrowseForFileInternal(context, caption, filter, defaultPath, parentWidget, true);
175 if(resultList.size())
176 {
177 return resultList[0];
178 }
179 return QString();
180}
181
182
183QStringList GuiUtil::BrowseForFiles(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget)

Callers

nothing calls this directly

Calls 3

BrowseForFileInternalFunction · 0.85
QStringClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected