qt: Add some error logging
* lang/qt/src/qgpgmenewcryptoconfig.cpp (setURLValueList): Log error
if setting config value failed.
--
GnuPG-bug-id: 5465
Ingo Klöcker
2 years ago
45 | 45 | |
46 | 46 | #include "global.h" |
47 | 47 | #include "error.h" |
48 | ||
48 | #include "debug.h" | |
49 | 49 | |
50 | 50 | #include <sstream> |
51 | 51 | #include <string> |
697 | 697 | } else { |
698 | 698 | values.push_back(splitURL(type, url).toUtf8().constData()); |
699 | 699 | } |
700 | m_option.setNewValue(m_option.createStringListArgument(values)); | |
700 | const auto err = m_option.setNewValue(m_option.createStringListArgument(values)); | |
701 | if (err) { | |
702 | qCWarning(QGPGME_LOG) << "setURLValueList: failed to set new value:" << err; | |
703 | } | |
701 | 704 | } |
702 | 705 | |
703 | 706 | bool QGpgMENewCryptoConfigEntry::isDirty() const |