From 8612ab71b34c47a7901c2b42b21a87822035573a Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 14 Jul 2014 18:47:45 +0100 Subject: [PATCH] Move implementation out of the header --- src/libtomahawk/ViewPage.cpp | 6 ++++++ src/libtomahawk/ViewPage.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/ViewPage.cpp b/src/libtomahawk/ViewPage.cpp index 45e64cfae..bd7c1dbc6 100644 --- a/src/libtomahawk/ViewPage.cpp +++ b/src/libtomahawk/ViewPage.cpp @@ -51,3 +51,9 @@ ViewPage::dropMimeData( const QMimeData* data, Qt::DropAction action ) Q_UNUSED( action ); return false; } + + +bool +ViewPage::addPageItem() const { + return true; +} diff --git a/src/libtomahawk/ViewPage.h b/src/libtomahawk/ViewPage.h index 2121a2208..5f252f965 100644 --- a/src/libtomahawk/ViewPage.h +++ b/src/libtomahawk/ViewPage.h @@ -76,7 +76,7 @@ public: /** * Should we add a row in the SourceTreeView for this page. */ - virtual bool addPageItem() const { return true; } + virtual bool addPageItem() const; /** * This page is actually a constant page that will be shown on every @@ -106,6 +106,6 @@ private: QString m_filter; }; -}; // ns +} // ns #endif //VIEWPAGE_H