summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4d8130b)
This can have various types (e.g. a file or a registry entry) and it can
be in various locations on different OSes, so having this as part of the
log output is pretty useful.
#include <getopt.h>
#include <QDebug>
#include <getopt.h>
#include <QDebug>
#ifdef ENABLE_SIGNALS
#include "signalhandler.hpp"
#ifdef ENABLE_SIGNALS
#include "signalhandler.hpp"
srd_log_loglevel_set(loglevel);
#endif
srd_log_loglevel_set(loglevel);
#endif
+ if (loglevel >= 5) {
+ const QSettings settings;
+ qDebug() << "Settings:" << settings.fileName()
+ << "format" << settings.format();
+ }