View Single Post
Posts: 32 | Thanked: 77 times | Joined on Dec 2011
#54
Hi,

I like cutempc as fast ui to select some music. However, the dialog 'host "" not found'... turns up 2 out of 3 times on startup.

By changing lines 32-33 of qmpd.cpp to
Code:
QByteArray bh = hostname.toLatin1();
QByteArray bp = password.toLatin1();
const char* cHostname = bh.data();
const char* cPassword = bp.data();
, the problem is fixed.

I attached a self-compiled binary of the 0.2.0-hostnamefix version (didn't manage to create a deb yet). Just copy the cutempc binary to /usr/bin and overwrite the previsious binary.

Ralf
Attached Files
File Type: zip 0.2.0-hostnamefix.zip (183.3 KB, 104 views)
 

The Following 3 Users Say Thank You to hypnotoad123 For This Useful Post: