mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
feat: remove log module
This commit is contained in:
parent
e952915ac3
commit
1753212f70
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user