]> Some of my projects - localmylist.git/commitdiff
Add logs saying why UDP client was not started
authorAPTX <redacted>
Mon, 2 Mar 2026 11:43:50 +0000 (20:43 +0900)
committerAPTX <redacted>
Sat, 7 Mar 2026 03:43:55 +0000 (12:43 +0900)
localmylist/mylist.cpp

index 27e5b6c8c746b8dafad04a9d2267d5e92c4a017c..591aece09b6b4c007d04302575661f326fb66ad5 100644 (file)
@@ -198,13 +198,17 @@ bool MyList::playFile(const OpenFileData &ofd, const QStringList &additionalArgu
 void MyList::setupUdpClient()
 {
 #ifdef LOCALMYLIST_NO_ANIDBUDPCLIENT
+       qDebug() << "Not built with AniDbUdpClient";
        return;
 #else
        if (!db->isConnected())
                return;
 
        if (!isUdpHost())
+       {
+               qDebug() << "Not a UDP host";
                return;
+       }
 
        m_udpClientId = database()->getNextUdpClientId();