MCPcopy Create free account
hub / github.com/YACReader/yacreader / findPath

Method findPath

YACReaderLibrary/add_library_dialog.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void AddLibraryDialog::findPath()
105{
106 QString s = QFileDialog::getExistingDirectory(0, "Comics directory", ".");
107 if (!s.isEmpty()) {
108 path->setText(s);
109 if (!nameEdit->text().isEmpty())
110 accept->setEnabled(true);
111 } else
112 accept->setEnabled(false);
113}
114
115void AddLibraryDialog::close()
116{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
textMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected