Added AVAHI support to promoe. Check the promoe.pro file to enable / disable it.
This commit is contained in:
parent
dec1b66342
commit
056e50ea51
7 changed files with 280 additions and 5 deletions
|
@ -1,6 +1,10 @@
|
|||
#include <xmmsclient/xmmsclient++.h>
|
||||
#include "MainWindow.h"
|
||||
|
||||
#ifdef HAVE_SERVERBROWSER
|
||||
#include "ServerBrowser.h"
|
||||
#endif
|
||||
|
||||
#include <QSettings>
|
||||
#include <QIcon>
|
||||
#include <QPluginLoader>
|
||||
|
@ -155,7 +159,6 @@ main (int argc, char **argv)
|
|||
playlistwin->move (settings.value("playlist/pos").toPoint ());
|
||||
playlistwin->move (settings.value("playlist/pos").toPoint ());
|
||||
|
||||
|
||||
if (!settings.contains ("playlist/hidden"))
|
||||
settings.setValue ("playlist/hidden", true);
|
||||
|
||||
|
@ -164,5 +167,10 @@ main (int argc, char **argv)
|
|||
else
|
||||
playlistwin->show ();
|
||||
|
||||
#ifdef HAVE_SERVERBROWSER
|
||||
ServerBrowserWindow *browser = new ServerBrowserWindow (mw);
|
||||
browser->show ();
|
||||
#endif
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue