mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-01 15:16:22 +00:00
Qt: Make toolbar more dynamic
This commit is contained in:
parent
396204248d
commit
264c995b0d
13 changed files with 86 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
|||
LogConfigWidget::LogConfigWidget(QWidget* parent) : QDockWidget(parent)
|
||||
{
|
||||
setWindowTitle(tr("Log Configuration"));
|
||||
setObjectName(QStringLiteral("logconfig"));
|
||||
|
||||
setHidden(!Settings::Instance().IsLogConfigVisible());
|
||||
setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ constexpr int TIMESTAMP_LENGTH = 10;
|
|||
LogWidget::LogWidget(QWidget* parent) : QDockWidget(parent), m_timer(new QTimer(this))
|
||||
{
|
||||
setWindowTitle(tr("Log"));
|
||||
setObjectName(QStringLiteral("log"));
|
||||
|
||||
setHidden(!Settings::Instance().IsLogVisible());
|
||||
setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue