1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Add AccountsToolButton border on Mac.

This commit is contained in:
Teo Mrnjavac 2012-12-10 16:50:16 +01:00
parent 8f2a1e8977
commit 7a0bc07978

View File

@ -102,6 +102,19 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
this, SLOT( updateIcons() ) );
connect( m_proxy, SIGNAL( modelReset() ),
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