OTHER: Make the mainloop inherit Xmms::MainloopInterface.
Also made it orphan (Xmms::Client deletes it properly). This should be added as a shared library compiled with the bindings if QT libraries are available.
This commit is contained in:
parent
70da726f52
commit
a18cea60f0
3 changed files with 20 additions and 14 deletions
|
@ -47,7 +47,7 @@ XMMSHandler::connect (const char *path)
|
|||
delete err;
|
||||
return false;
|
||||
}
|
||||
m_qt4 = new XmmsQT4 (m_client.getConnection (), qApp);
|
||||
m_client.setMainloop (new XmmsQT4 (m_client.getConnection ()));
|
||||
|
||||
using Xmms::bind;
|
||||
m_client.playlist.list (bind (&XMMSHandler::playlist_list, this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue