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

Method BrowseForFile

launcher/ui/GuiUtil.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122QString GuiUtil::BrowseForFile(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget)
123{
124 auto resultList = BrowseForFileInternal(context, caption, filter, defaultPath, parentWidget, true);
125 if(resultList.size())
126 {
127 return resultList[0];
128 }
129 return QString();
130}
131
132
133QStringList 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