mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile UI: stop the use of dark icon theme
This was used very inconsistently and had more bugs than positive impact. See #2686 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f4f15039ac
commit
98ef01b2e4
6 changed files with 5 additions and 21 deletions
|
@ -33,18 +33,14 @@ class themeInterface : public QObject {
|
|||
|
||||
// Support
|
||||
Q_PROPERTY(QString currentTheme MEMBER m_currentTheme WRITE set_currentTheme NOTIFY currentThemeChanged)
|
||||
Q_PROPERTY(QString iconStyle MEMBER m_iconStyle NOTIFY iconStyleChanged)
|
||||
|
||||
public:
|
||||
static themeInterface *instance();
|
||||
|
||||
static void setup(QQmlContext *ct);
|
||||
|
||||
static double currentScale();
|
||||
|
||||
public slots:
|
||||
static void set_currentTheme(const QString &theme);
|
||||
|
||||
static void set_currentScale(double);
|
||||
|
||||
signals:
|
||||
|
@ -68,7 +64,6 @@ signals:
|
|||
void currentScaleChanged(double);
|
||||
|
||||
void currentThemeChanged(const QString &);
|
||||
void iconStyleChanged(const QString &);
|
||||
|
||||
private:
|
||||
themeInterface() {}
|
||||
|
@ -94,6 +89,5 @@ private:
|
|||
static double m_titlePointSize;
|
||||
|
||||
static QString m_currentTheme;
|
||||
static QString m_iconStyle;
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue