disabled the custom log path as it doesn't save in the proper

directories
This commit is contained in:
fourtf 2018-06-06 00:46:02 +02:00
parent 334f778f42
commit 714d3178d6
2 changed files with 36 additions and 34 deletions

View file

@ -39,7 +39,8 @@ void LoggingManager::addMessage(const QString &channelName, messages::MessagePtr
QString LoggingManager::getDirectoryForChannel(const QString &channelName) QString LoggingManager::getDirectoryForChannel(const QString &channelName)
{ {
auto customPath = getApp()->settings->logPath; // auto customPath = getApp()->settings->logPath;
auto customPath = QString("");
if (channelName.startsWith("/whispers")) { if (channelName.startsWith("/whispers")) {
if (customPath != "") if (customPath != "")

View file

@ -60,7 +60,7 @@ ModerationPage::ModerationPage()
logs.append(this->createCheckBox("Enable logging", app->settings->enableLogging)); logs.append(this->createCheckBox("Enable logging", app->settings->enableLogging));
logs->addStretch(1); logs->addStretch(1);
/*
auto selectDir = logs.emplace<QPushButton>("Set custom logpath"); auto selectDir = logs.emplace<QPushButton>("Set custom logpath");
// Setting custom logpath // Setting custom logpath
@ -97,6 +97,7 @@ ModerationPage::ModerationPage()
}); });
// Logs end // Logs end
*/
} }
auto modMode = tabs.appendTab(new QVBoxLayout, "Moderation mode"); auto modMode = tabs.appendTab(new QVBoxLayout, "Moderation mode");