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

Method onUsers

src/mainwindow.cpp:962–972  ·  view source on GitHub ↗

* @brief MainWindow::onUsers edit users for the current * folder, * gets lists and opens UserDialog. */

Source from the content-addressed store, hash-verified

960 * gets lists and opens UserDialog.
961 */
962void MainWindow::onUsers() {
963 QString dir =
964 currentDir.isEmpty()
965 ? Util::getDir(ui->treeView->currentIndex(), false, model, proxyModel)
966 : currentDir;
967
968 UsersDialog d(dir, this);
969 if (!d.exec()) {
970 ui->treeView->setFocus();
971 }
972}
973
974/**
975 * @brief MainWindow::messageAvailable we have some text/message/search to do.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected