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

Method addDownloadFolder

launcher/ui/dialogs/BlockedModsDialog.cpp:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void BlockedModsDialog::addDownloadFolder()
138{
139 QString dir =
140 QFileDialog::getExistingDirectory(this, tr("Select directory where you downloaded the mods"),
141 QStandardPaths::writableLocation(QStandardPaths::DownloadLocation), QFileDialog::ShowDirsOnly);
142 qDebug() << "[Blocked Mods Dialog] Adding watch path:" << dir;
143 m_watcher.addPath(dir);
144 scanPath(dir, true);
145 update();
146}
147
148/// @brief update UI with current status of the blocked mod detection
149void BlockedModsDialog::update()

Callers

nothing calls this directly

Calls 1

addPathMethod · 0.80

Tested by

no test coverage detected