the problem is that its a lot of code interact with other code and etc etc etc....
i think it will be difficult for you to understand all the code to find the problem but here is the project --> deleted
i am trying to make a music player, i created the GUI with Qt Jambi (file /src/yamp/ui/YampMainWindow.java) and i am trying to list the artists in a QTreeWidget, the last line of main() in the previous file is
|
Source code
|
1
|
window.setLibrary(artists_songs);
|
with this i call the the setLibrary() which will add the artists in the QTreeWidget
to get the artists a use mostly the code at /src/yamp/musiclibrary/LibraryManagement.java calling from /src/yamp/YampLibrary.java
if you have any question or anything tell me, sorry if i am not very understandable
edit: i commented line
|
Source code
|
1
|
MultiMap artists_songs = m.YampLibrary();
|
in main and
|
Source code
|
1
2
|
Set artists = map.keySet();
TreeSet artistsSorted = new TreeSet(artists);
|
in setLibrary() and i change the
|
Source code
|
1
|
window.setLibrary(artists_songs);
|
with
|
Source code
|
1
|
window.setLibrary(null);
|
so it doesn't execute other code but still i can't see the "All" and i still get the
|
Source code
|
1
2
3
4
5
6
|
Add item
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread
1
2
The item has been added
|