| 130 | } |
| 131 | |
| 132 | void CreateLibraryDialog::findPath() |
| 133 | { |
| 134 | QString s = QFileDialog::getExistingDirectory(0, "Comics directory", "."); |
| 135 | if (!s.isEmpty()) { |
| 136 | path->setText(s); |
| 137 | if (!nameEdit->text().isEmpty()) |
| 138 | accept->setEnabled(true); |
| 139 | } else |
| 140 | accept->setEnabled(false); |
| 141 | } |
| 142 | |
| 143 | void CreateLibraryDialog::close() |
| 144 | { |