mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
revert preference settings for title color
Because of subsequent changes there is no clean way to just revert the changes
introduced in commit 8b36cf1051
("desktop: offer different colors for info tab
titles"), so this manually removes the parts we don't need anymore.
This also restores a tooltip value that was inadvertantly removed in that
commit.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6201ac34b4
commit
be3190db8a
7 changed files with 7 additions and 119 deletions
|
@ -34,7 +34,6 @@
|
|||
#include "TabDiveStatistics.h"
|
||||
#include "TabDiveSite.h"
|
||||
#include "TabDiveComputer.h"
|
||||
#include "core/settings/qPrefDisplay.h"
|
||||
|
||||
#include <QCompleter>
|
||||
#include <QScrollBar>
|
||||
|
@ -102,7 +101,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
// Alas, this is not the case. When the user switches to system-format, the preferences sends the according
|
||||
// signal. However, the correct date and time format is set by the preferences dialog later. This should be fixed.
|
||||
connect(PreferencesDialog::instance(), &PreferencesDialog::settingsChanged, this, &MainTab::updateDateTimeFields);
|
||||
connect(qPrefDisplay::instance(), &qPrefDisplay::headerstyle_colorChanged, this, &MainTab::colorsChanged);
|
||||
|
||||
QAction *action = new QAction(tr("Apply changes"), this);
|
||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(acceptChanges()));
|
||||
ui.diveNotesMessage->addAction(action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue