Settings: allow setting log categories

requires #1589
This commit is contained in:
moneromooo.monero
2017-01-16 21:56:37 +00:00
parent ea8bc5b56d
commit fb8d9bd5dc
3 changed files with 30 additions and 3 deletions

View File

@@ -261,6 +261,11 @@ void WalletManager::setLogLevel(int logLevel)
Monero::WalletManagerFactory::setLogLevel(logLevel);
}
void WalletManager::setLogCategories(const QString &categories)
{
Monero::WalletManagerFactory::setLogCategories(categories.toStdString());
}
QString WalletManager::urlToLocalPath(const QUrl &url) const
{
return QDir::toNativeSeparators(url.toLocalFile());