Changeset 7780ba686 in mythtv


Ignore:
Timestamp:
Mar 2, 2013, 2:42:25 AM (11 years ago)
Author:
Daniel Thor Kristjansson <danielk@…>
Branches:
devel/2020-player, devel/ffmpeg-resync, fixes/0.27, fixes/0.28, fixes/29, fixes/30, fixes/31, github-templates, master
Children:
aa58b17580
Parents:
d5cc7a1c7
Message:

Fix QTcpSocket code on Qt4 (SIGNAL/SLOT macros are not type aware).

Location:
mythtv/libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mythtv/libs/libmythbase/serverpool.cpp

    rd5cc7a1c7 r7780ba686  
    391391                this,   &ServerPool::newTcpConnection);
    392392#else
    393         connect(server, SIGNAL(newConnection(int)),
    394                 this,   SLOT(newTcpConnection(int)));
     393        connect(server, SIGNAL(newConnection(qt_socket_fd_t)),
     394                this,   SLOT(newTcpConnection(qt_socket_fd_t)));
    395395#endif
    396396        if (server->listen(*it, m_port))
  • mythtv/libs/libmythprotoserver/mythsocketmanager.cpp

    rd5cc7a1c7 r7780ba686  
    102102            this,     &MythSocketManager::newConnection);
    103103#else
    104     connect(m_server, SIGNAL(newConnection(int)),
    105             this,     SLOT(newConnection(int)));
     104    connect(m_server, SIGNAL(newConnection(qt_socket_fd_t)),
     105            this,     SLOT(newConnection(qt_socket_fd_t)));
    106106#endif
    107107    return true;
Note: See TracChangeset for help on using the changeset viewer.