mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
God this was a PITA. What is going on: Playlists are created by collection item. SourcesModel::linkSourceItemToPage is called from *constructor* of PlaylistItem, so BEFORE the CollectionItem calls endRowsAdded(). This means when the SourcesProxyModel does the mapFromSource() during the activateIndex() call (from linkSourceItemToPage) it won't have the new index in the mapping yet as endRowsAdded() hasn't been called. So that will fail. We have to queue the signal *from the source model to the proxy* not from the proxy to the view. EUGH. Also, fix a few logic errors from teh ViewManager/WeakPointer refactor that had bad logic
Compiling Tomahawk ------------------ $ mkdir build && cd build $ cmake .. $ make Start the application on Linux: $ ./tomahawk Start the application on OS X: $ open tomahawk.app Detailed building instructions for Ubuntu ----------------------------------------- See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_Ubuntu_Binary_on_Maverick_(10.10) Detailed building instructions for OS X --------------------------------------- See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_OS_X_Application_Bundle_on_Snow_Leopard_(10.6) Doxygen Documentation --------------------- See: http://dev.tomahawk-player.org/api/classes.html Dependencies ------------ CMake 2.8.0 http://www.cmake.org/ Qt 4.7.0 http://qt.nokia.com/ QJson 0.7.1 http://qjson.sourceforge.net/ SQLite 3.6.22 http://www.sqlite.org/ TagLib 1.6.2 http://developer.kde.org/~wheeler/taglib.html Boost 1.3x http://www.boost.org/ CLucene 0.9.23 (0.9.21 will fail) http://clucene.sourceforge.net/download.shtml libechonest 1.1.8 http://projects.kde.org/projects/playground/libs/libechonest/ Third party libraries that we ship with our source: MiniUPnP http://miniupnp.free.fr/ liblastfm 0.4.0 http://github.com/jonocole/liblastfm/ Enjoy!
Description
Languages
C++
93.4%
JavaScript
1.8%
CMake
1.2%
C
0.6%
Objective-C++
0.5%
Other
2.2%