Skip to content

Commit 06e3b64

Browse files
authored
Remove "What's This?" leftovers (LMMS#5173)
1 parent 976ed8d commit 06e3b64

File tree

4 files changed

+1
-19
lines changed

4 files changed

+1
-19
lines changed

data/themes/classic/style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,4 @@ LmmsPalette {
897897
qproperty-brightText: #4afd85;
898898
qproperty-highlight: #202020;
899899
qproperty-highlightedText: #ffffff;
900-
/* the next two are used for whatsthis dialogs */
901-
qproperty-toolTipText: #000;
902-
qproperty-toolTipBase: #c9c9c9;
903900
}

data/themes/default/style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,4 @@ LmmsPalette {
920920
qproperty-brightText: #d1d8e4;
921921
qproperty-highlight: #262b30;
922922
qproperty-highlightedText: #d1d8e4;
923-
/* the next two are used for whatsthis dialogs */
924-
qproperty-toolTipText: #d1d8e4;
925-
qproperty-toolTipBase: #101213;
926923
}

include/LmmsPalette.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class LMMS_EXPORT LmmsPalette : public QWidget
4343
Q_PROPERTY( QColor brightText READ brightText WRITE setBrightText )
4444
Q_PROPERTY( QColor highlight READ highlight WRITE setHighlight )
4545
Q_PROPERTY( QColor highlightedText READ highlightedText WRITE setHighlightedText )
46-
Q_PROPERTY( QColor toolTipText READ toolTipText WRITE setToolTipText )
47-
Q_PROPERTY( QColor toolTipBase READ toolTipBase WRITE setToolTipBase )
4846

4947
public:
5048
LmmsPalette( QWidget * parent, QStyle * stylearg );
@@ -65,8 +63,6 @@ class LMMS_EXPORT LmmsPalette : public QWidget
6563
ACCESSMET( brightText, setBrightText )
6664
ACCESSMET( highlight, setHighlight )
6765
ACCESSMET( highlightedText, setHighlightedText )
68-
ACCESSMET( toolTipText, setToolTipText )
69-
ACCESSMET( toolTipBase, setToolTipBase )
7066

7167
#undef ACCESSMET
7268

@@ -83,8 +79,6 @@ class LMMS_EXPORT LmmsPalette : public QWidget
8379
QColor m_brightText;
8480
QColor m_highlight;
8581
QColor m_highlightedText;
86-
QColor m_toolTipText;
87-
QColor m_toolTipBase;
8882
};
8983

9084

src/gui/LmmsPalette.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ LmmsPalette::LmmsPalette( QWidget * parent, QStyle * stylearg ) :
4242
m_buttonText( 0,0,0 ),
4343
m_brightText( 74, 253, 133 ),
4444
m_highlight( 100, 100, 100 ),
45-
m_highlightedText( 255, 255, 255 ),
46-
m_toolTipText( 0, 0, 0 ),
47-
m_toolTipBase( 128, 128, 128 )
45+
m_highlightedText( 255, 255, 255 )
4846
{
4947
setStyle( stylearg );
5048
stylearg->polish( this );
@@ -72,8 +70,6 @@ LmmsPalette::~LmmsPalette()
7270
ACCESSMET( brightText, setBrightText )
7371
ACCESSMET( highlight, setHighlight )
7472
ACCESSMET( highlightedText, setHighlightedText )
75-
ACCESSMET( toolTipText, setToolTipText )
76-
ACCESSMET( toolTipBase, setToolTipBase )
7773

7874

7975
QPalette LmmsPalette::palette() const
@@ -90,8 +86,6 @@ QPalette LmmsPalette::palette() const
9086
pal.setColor( QPalette::Shadow, shadow() );
9187
pal.setColor( QPalette::Highlight, highlight() );
9288
pal.setColor( QPalette::HighlightedText, highlightedText() );
93-
pal.setBrush( QPalette::ToolTipText, QBrush( toolTipText() ) );
94-
pal.setBrush( QPalette::ToolTipBase, QBrush( toolTipBase() ) );
9589
return pal;
9690
}
9791

0 commit comments

Comments
 (0)