From bc24148e8577710b4f2ded55ad741e9420a657e3 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 16 Jul 2013 12:58:59 +0200 Subject: [PATCH] Move implementation out of the header --- src/libtomahawk-widgets/PlaylistDelegate.cpp | 5 +++++ src/libtomahawk-widgets/PlaylistDelegate.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk-widgets/PlaylistDelegate.cpp b/src/libtomahawk-widgets/PlaylistDelegate.cpp index 0c5e5c879..e878e3e44 100644 --- a/src/libtomahawk-widgets/PlaylistDelegate.cpp +++ b/src/libtomahawk-widgets/PlaylistDelegate.cpp @@ -55,6 +55,11 @@ PlaylistDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelInde } +PlaylistDelegate::PlaylistDelegate() +{ +} + + void PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const { diff --git a/src/libtomahawk-widgets/PlaylistDelegate.h b/src/libtomahawk-widgets/PlaylistDelegate.h index cf8a3eea2..462a56563 100644 --- a/src/libtomahawk-widgets/PlaylistDelegate.h +++ b/src/libtomahawk-widgets/PlaylistDelegate.h @@ -35,9 +35,7 @@ class TOMAHAWK_WIDGETS_EXPORT PlaylistDelegate : public QStyledItemDelegate Q_OBJECT public: - PlaylistDelegate() - { - } + PlaylistDelegate(); protected: void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const;