MCPcopy Create free account
hub / github.com/QNapi/qnapi / selectTmpPath

Method selectTmpPath

gui/src/forms/frmoptions.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void frmOptions::selectTmpPath() {
148 QString tmpDir = QFileDialog::getExistingDirectory(
149 this, tr("Specify temporary directory"),
150 QFileInfo(ui.leTmpPath->text()).path(),
151 QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
152 if (!tmpDir.isEmpty()) ui.leTmpPath->setText(QFileInfo(tmpDir).path());
153}
154
155void frmOptions::twEnginesSelectionChanged() {
156 if (ui.twEngines->selectedItems().size() < 1) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected