diff --git a/src/libtomahawk/playlist/ColumnView.cpp b/src/libtomahawk/playlist/ColumnView.cpp index fcbb1b860..79b3e8292 100644 --- a/src/libtomahawk/playlist/ColumnView.cpp +++ b/src/libtomahawk/playlist/ColumnView.cpp @@ -1,6 +1,7 @@ /* === This file is part of Tomahawk Player - === * * Copyright 2010-2013, Christian Muehlhaeuser + * Copyright 2014, Teo Mrnjavac * * Tomahawk is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -154,7 +155,8 @@ ColumnView::setTreeModel( TreeModel* model ) sortByColumn( PlayableModel::Artist, Qt::AscendingOrder );*/ QList< int > widths; - widths << m_previewWidget->minimumSize().width() + 32; + int baseUnit = m_previewWidget->minimumSize().width() + 32; + widths << baseUnit << baseUnit << baseUnit << baseUnit; setColumnWidths( widths ); } diff --git a/src/libtomahawk/playlist/ColumnView.h b/src/libtomahawk/playlist/ColumnView.h index 4f9756f68..2b854d7bb 100644 --- a/src/libtomahawk/playlist/ColumnView.h +++ b/src/libtomahawk/playlist/ColumnView.h @@ -2,6 +2,7 @@ * * Copyright 2010-2011, Christian Muehlhaeuser * Copyright 2010-2012, Jeff Mitchell + * Copyright 2014, Teo Mrnjavac * * Tomahawk is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by