feat: remove log module

This commit is contained in:
Qsaker 2023-12-30 11:23:00 +08:00
parent e952915ac3
commit 1753212f70
2 changed files with 3 additions and 4 deletions

View File

@ -83,8 +83,6 @@ static void qtLogToGoogleLog(QtMsgType type, const QMessageLogContext &context,
Q_UNUSED(file)
Q_UNUSED(line)
#endif
// Show the log on ui.
SAKLog::instance()->appendLog(type, context, msg);
}
static void sakInitApp(const QString &appName)
@ -160,4 +158,4 @@ static void sakDoSomethingBeforeAppCreated(char *argv[], const QString &appName)
static void sakDoSomethingAfterAppExited()
{
sakShutdownGoogleLogging();
}
}

View File

@ -744,12 +744,13 @@ void SAKMainWindow::initNav()
});
tb->addSeparator();
#endif
#if 0
initNav({&navButtonGroup,
SAKUiInterface::cookedIcon(QIcon(":/resources/icon/IconLog.svg")),
tr("Log Viewer"),
new SAKLogUi(this),
tb});
#endif
#if 0
path = ":/resources/icon/IconSettings.svg";
initNav(&navButtonGroup,