mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Set font weight on AudioControls.
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
#include <QDropEvent>
|
#include <QDropEvent>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
|
#include <QGraphicsDropShadowEffect>
|
||||||
|
|
||||||
const static int ALLOWED_MAX_DIVERSION = 300;
|
const static int ALLOWED_MAX_DIVERSION = 300;
|
||||||
|
|
||||||
@@ -57,6 +58,7 @@ AudioControls::AudioControls( QWidget* parent )
|
|||||||
|
|
||||||
QFont font( ui->artistTrackLabel->font() );
|
QFont font( ui->artistTrackLabel->font() );
|
||||||
font.setPointSize( TomahawkUtils::defaultFontSize() );
|
font.setPointSize( TomahawkUtils::defaultFontSize() );
|
||||||
|
font.setWeight( QFont::Normal );
|
||||||
|
|
||||||
ui->artistTrackLabel->setFont( font );
|
ui->artistTrackLabel->setFont( font );
|
||||||
ui->artistTrackLabel->setElideMode( Qt::ElideMiddle );
|
ui->artistTrackLabel->setElideMode( Qt::ElideMiddle );
|
||||||
|
Reference in New Issue
Block a user