1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* Fixed overlapping text issue in Collection's preview widget.

This commit is contained in:
Christian Muehlhaeuser 2014-08-21 08:37:36 +02:00
parent 6e494db0b7
commit a4dfaac478

View File

@ -1,6 +1,6 @@
/* === 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>
*
* Tomahawk is free software: you can redistribute it and/or modify
@ -31,7 +31,6 @@
#include <QLabel>
#include <QVBoxLayout>
#include <boost/concept_check.hpp>
using namespace Tomahawk;
@ -242,12 +241,7 @@ ColumnViewPreviewWidget::setQuery( const Tomahawk::query_ptr& query )
m_ageValue->setVisible( false );
}
#ifndef Q_OS_MAC //we don't need to scale on OSX anyway
TomahawkUtils::DpiScaler dpi( this );
setMinimumHeight( dpi.scaledY( 400 ) );
#else
setMinimumHeight( 400 );
#endif
setMinimumHeight( sizeHint().height() );
}