Merge pull request #5877 from JosJuice/log-strings
DolphinQt2: Make logging strings more like in DolphinWX
This commit is contained in:
commit
fac085940e
|
@ -129,7 +129,7 @@ void LoggerWidget::CreateWidgets()
|
|||
// Log
|
||||
m_tab_log = new QWidget;
|
||||
m_log_text = new QTextEdit;
|
||||
m_log_wrap = new QCheckBox(tr("Wrap Text"));
|
||||
m_log_wrap = new QCheckBox(tr("Word Wrap"));
|
||||
m_log_font = new QComboBox;
|
||||
m_log_clear = new QPushButton(tr("Clear"));
|
||||
|
||||
|
|
|
@ -188,13 +188,13 @@ void MenuBar::UpdateStateSlotMenu()
|
|||
void MenuBar::AddViewMenu()
|
||||
{
|
||||
QMenu* view_menu = addMenu(tr("&View"));
|
||||
QAction* show_log = view_menu->addAction(tr("Show Log"));
|
||||
QAction* show_log = view_menu->addAction(tr("Show &Log"));
|
||||
show_log->setCheckable(true);
|
||||
show_log->setChecked(Settings::Instance().IsLogVisible());
|
||||
|
||||
connect(show_log, &QAction::toggled, &Settings::Instance(), &Settings::SetLogVisible);
|
||||
|
||||
QAction* show_log_config = view_menu->addAction(tr("Show Log Configuration"));
|
||||
QAction* show_log_config = view_menu->addAction(tr("Show Log &Configuration"));
|
||||
show_log_config->setCheckable(true);
|
||||
show_log_config->setChecked(Settings::Instance().IsLogConfigVisible());
|
||||
|
||||
|
|
Loading…
Reference in New Issue