Browse Source

This variant of ::exists correctly handles non-existing symlinks

pull/140/head
Jonathan "Duke" Leto 4 years ago
parent
commit
1a93502f32
  1. 3
      src/connection.cpp

3
src/connection.cpp

@ -347,7 +347,8 @@ bool ConnectionLoader::startEmbeddedZcashd() {
auto hushdProgram = appPath.absoluteFilePath("komodod");
#endif
if (!QFile(hushdProgram).exists()) {
//if (!QFile(hushdProgram).exists()) {
if (!QFile::exists(hushdProgram)) {
qDebug() << "Can't find hushd at " << hushdProgram;
main->logger->write("Can't find hushd at " + hushdProgram);
return false;

Loading…
Cancel
Save