MCPcopy Create free account
hub / github.com/IJHack/QtPass / openFolder

Method openFolder

src/mainwindow.cpp:1242–1248  ·  view source on GitHub ↗

* @brief MainWindow::openFolder open the folder in the default file manager */

Source from the content-addressed store, hash-verified

1240 * @brief MainWindow::openFolder open the folder in the default file manager
1241 */
1242void MainWindow::openFolder() {
1243 QString dir =
1244 Util::getDir(ui->treeView->currentIndex(), false, model, proxyModel);
1245
1246 QString path = QDir::toNativeSeparators(dir);
1247 QDesktopServices::openUrl(QUrl::fromLocalFile(path));
1248}
1249
1250/**
1251 * @brief MainWindow::addFolder add a new folder to store passwords in

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected