mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Fixed overlapping text issue in Collection's preview widget.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||||
*
|
*
|
||||||
* Copyright 2013, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
* Copyright 2013-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||||
* Copyright 2013-2014, Teo Mrnjavac <teo@kde.org>
|
* Copyright 2013-2014, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Tomahawk is free software: you can redistribute it and/or modify
|
* Tomahawk is free software: you can redistribute it and/or modify
|
||||||
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <boost/concept_check.hpp>
|
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
@@ -242,12 +241,7 @@ ColumnViewPreviewWidget::setQuery( const Tomahawk::query_ptr& query )
|
|||||||
m_ageValue->setVisible( false );
|
m_ageValue->setVisible( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef Q_OS_MAC //we don't need to scale on OSX anyway
|
setMinimumHeight( sizeHint().height() );
|
||||||
TomahawkUtils::DpiScaler dpi( this );
|
|
||||||
setMinimumHeight( dpi.scaledY( 400 ) );
|
|
||||||
#else
|
|
||||||
setMinimumHeight( 400 );
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user