OTHER: get rid of XMMSHandler and update classes using it
This commit is contained in:
parent
786b745d55
commit
982660510a
33 changed files with 145 additions and 266 deletions
|
@ -63,9 +63,9 @@ ServerBrowserList::connectServer (QListWidgetItem *it)
|
|||
{
|
||||
ServerBrowserWindow *sw = dynamic_cast<ServerBrowserWindow*> (window ());
|
||||
|
||||
XMMSHandler *xmmsh = XMMSHandler::getInstance ();
|
||||
XClient *client = App->client ();
|
||||
ServerItem *item = dynamic_cast<ServerItem*> (it);
|
||||
if (xmmsh->connect (item->path ().toAscii())) {
|
||||
if (client->connect (item->path ().toAscii())) {
|
||||
sw->close ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue