mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
Add AccountsToolButton border on Mac.
This commit is contained in:
@@ -102,6 +102,19 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
this, SLOT( updateIcons() ) );
|
this, SLOT( updateIcons() ) );
|
||||||
connect( m_proxy, SIGNAL( modelReset() ),
|
connect( m_proxy, SIGNAL( modelReset() ),
|
||||||
this, SLOT( updateIcons() ) );
|
this, SLOT( updateIcons() ) );
|
||||||
|
|
||||||
|
#ifdef Q_WS_MAC
|
||||||
|
setStyleSheet( "AccountsToolButton {"
|
||||||
|
" border: 1px solid #7d7d7d;"
|
||||||
|
" border-radius: 4px;"
|
||||||
|
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,"
|
||||||
|
" stop: 0 #f5f5f5, stop: 1 #bababa);"
|
||||||
|
"}"
|
||||||
|
"AccountsToolButton:pressed {"
|
||||||
|
" background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,"
|
||||||
|
" stop: 0 #b6b6b6, stop: 1 #dddddd);"
|
||||||
|
"}" );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user