1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

* Don't restore settings if the TrackView's guid didn't actually change.

This commit is contained in:
Christian Muehlhaeuser
2013-09-05 09:46:48 +02:00
parent 09fb1724b5
commit 354805b7b4

View File

@@ -42,7 +42,6 @@
#include "utils/PixmapDelegateFader.h"
#endif
#include <QKeyEvent>
#include <QPainter>
#include <QScrollBar>
@@ -130,6 +129,9 @@ TrackView::guid() const
void
TrackView::setGuid( const QString& newguid )
{
if ( newguid == m_guid )
return;
if ( !newguid.isEmpty() )
{
tDebug() << Q_FUNC_INFO << "Setting guid on header" << newguid << "for a view with" << m_proxyModel->columnCount() << "columns";