From 0d8a8038b72403d205dd74de6c217bf7a46cdb31 Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Wed, 28 Mar 2012 23:16:44 +0200 Subject: [PATCH] Compile fix for ARM Not sure why this is needed, but without this the tomahawk binary fails to link. Error: `.LTHUNK9' referenced in section `.text._ZN21AccountFactoryWrapperD1Ev[AccountFactoryWrapper::~AccountFactoryWrapper()]' of CMakeFiles/tomahawk.dir/tomahawk_automoc.cpp.o: defined in discarded section `.text._ZN21AccountFactoryWrapperD2Ev[_ZN21AccountFactoryWrapperD5Ev]' of CMakeFiles/tomahawk.dir/tomahawk_automoc.cpp.o collect2: ld returned 1 exit status make[2]: *** [tomahawk] Error 1 --- src/AccountFactoryWrapper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AccountFactoryWrapper.h b/src/AccountFactoryWrapper.h index d96d89486..00e31e672 100644 --- a/src/AccountFactoryWrapper.h +++ b/src/AccountFactoryWrapper.h @@ -42,6 +42,7 @@ public: }; explicit AccountFactoryWrapper( Tomahawk::Accounts::AccountFactory* factory, QWidget* parent = 0 ); + virtual ~AccountFactoryWrapper() {} public slots: void openAccountConfig( Tomahawk::Accounts::Account* );