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

Method pathSetted

YACReaderLibrary/add_library_dialog.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void AddLibraryDialog::pathSetted(const QString &text)
95{
96 QFileInfo fi(text);
97 if (fi.isDir()) {
98 if (!nameEdit->text().isEmpty())
99 accept->setEnabled(true);
100 } else
101 accept->setEnabled(false);
102}
103
104void AddLibraryDialog::findPath()
105{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
textMethod · 0.80
isDirMethod · 0.45

Tested by

no test coverage detected