* @brief MainWindow::onUsers edit users for the current * folder, * gets lists and opens UserDialog. */
| 960 | * gets lists and opens UserDialog. |
| 961 | */ |
| 962 | void 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. |
nothing calls this directly
no outgoing calls
no test coverage detected