From d171ab4f69fdbd18b8a87f4cad567eb087576e6c Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 28 May 2013 15:19:19 +0200 Subject: [PATCH] Fix compilation --- src/libtomahawk/Source.cpp | 3 ++- src/libtomahawk/Source.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/Source.cpp b/src/libtomahawk/Source.cpp index 8295748d3..ab397a769 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -477,7 +477,8 @@ Source::playlistInterface() return m_playlistInterface; } -QSharedPointer Source::acquireLock() +QSharedPointer +Source::acquireLock() { return QSharedPointer( new QMutexLocker( &m_mutex ) ); } diff --git a/src/libtomahawk/Source.h b/src/libtomahawk/Source.h index 6db8affcd..aaa6faf2f 100644 --- a/src/libtomahawk/Source.h +++ b/src/libtomahawk/Source.h @@ -102,7 +102,7 @@ public: Tomahawk::playlistinterface_ptr playlistInterface(); - QSharedPointer acquireLock(); + QSharedPointer acquireLock(); signals: void syncedWithDatabase();