Mior: remove debugs

This commit is contained in:
Gerhard Hoffmann 2024-11-28 12:52:50 +01:00
parent 12aa9a734a
commit 6663866743

View File

@ -161,8 +161,8 @@ void CommandLineParser::readSettings() {
QString const iniFileName = m_parser.value(m_iniFileNameOption); QString const iniFileName = m_parser.value(m_iniFileNameOption);
m_iniFileName = QDir::cleanPath(iniFileDir + QDir::separator() + iniFileName); m_iniFileName = QDir::cleanPath(iniFileDir + QDir::separator() + iniFileName);
qCritical() << __PRETTY_FUNCTION__ << " iniFileDir" << iniFileDir; //qCritical() << __PRETTY_FUNCTION__ << " iniFileDir" << iniFileDir;
qCritical() << __PRETTY_FUNCTION__ << "iniFileName" << m_iniFileName; //qCritical() << __PRETTY_FUNCTION__ << "iniFileName" << m_iniFileName;
if (!m_iniFileName.isEmpty()) { if (!m_iniFileName.isEmpty()) {
if (QFile(m_iniFileName).exists()) { if (QFile(m_iniFileName).exists()) {
@ -171,8 +171,8 @@ void CommandLineParser::readSettings() {
for (QString const &key: keys) { for (QString const &key: keys) {
QVariant v = settings.value(key); QVariant v = settings.value(key);
qCritical() << "(" << __func__ << ":" << __LINE__ << ")" //qCritical() << "(" << __func__ << ":" << __LINE__ << ")"
<< key << " -> " << v.toString(); // << key << " -> " << v.toString();
if (key.contains("repository-url")) { if (key.contains("repository-url")) {
m_repositoryUrl = v.toString(); m_repositoryUrl = v.toString();
@ -273,15 +273,9 @@ QString CommandLineParser::dcDir() {
} }
bool CommandLineParser::readDCVersion() { bool CommandLineParser::readDCVersion() {
qCritical() << __func__ << __LINE__;
if (m_parser.isSet(m_readDCVersionOption)) { if (m_parser.isSet(m_readDCVersionOption)) {
qCritical() << __func__ << __LINE__ << m_readDCVersion;
m_readDCVersion = m_parser.value(m_readDCVersionOption); m_readDCVersion = m_parser.value(m_readDCVersionOption);
qCritical() << __func__ << __LINE__ << m_readDCVersion;
} }
qCritical() << __func__ << __LINE__ << m_readDCVersion;
return m_readDCVersion == "false" ? false : true; return m_readDCVersion == "false" ? false : true;
} }