mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Turn off Facebook debug messages unless verbose
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bebee64ca9
commit
59bf217157
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ FacebookManager::FacebookManager(QObject *parent) :
|
|||
QObject(parent),
|
||||
manager(new QNetworkAccessManager(this))
|
||||
{
|
||||
// log only in verbose mode
|
||||
QLoggingCategory::setFilterRules(QStringLiteral("subsurface.facebook=%1").arg(verbose ? "true" : "false"));
|
||||
connect(this, &FacebookManager::albumIdReceived, this, &FacebookManager::sendDiveToAlbum);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue