MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / BrowseForFile

Method BrowseForFile

launcher/ui/GuiUtil.cpp:229–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229QString GuiUtil::BrowseForFile(QString context, QString caption, QString filter, QString defaultPath, QWidget* parentWidget)
230{
231 auto resultList = BrowseForFileInternal(context, caption, filter, defaultPath, parentWidget, true);
232 if (resultList.size()) {
233 return resultList[0];
234 }
235 return QString();
236}
237
238QStringList GuiUtil::BrowseForFiles(QString context, QString caption, QString filter, QString defaultPath, QWidget* parentWidget)
239{

Callers

nothing calls this directly

Calls 3

BrowseForFileInternalFunction · 0.85
QStringClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected