Правки
This commit is contained in:
parent
ec720ff8f4
commit
1053e70360
@ -7,7 +7,7 @@
|
|||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (QT_VERSION <= 0x050700)
|
#if ( QT_VERSION <= 0x050700 )
|
||||||
template< typename ... Args >
|
template< typename ... Args >
|
||||||
struct QOverload
|
struct QOverload
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal )
|
|||||||
|
|
||||||
#if MYX_QT_HAS_POSIX_SIGNALS
|
#if MYX_QT_HAS_POSIX_SIGNALS
|
||||||
// Register a sigaction which will write to the socket pair
|
// Register a sigaction which will write to the socket pair
|
||||||
struct sigaction sigact {};
|
struct sigaction sigact;
|
||||||
sigact.sa_handler = PosixSignalWatcherPrivate::signalHandler; //NOLINT
|
sigact.sa_handler = PosixSignalWatcherPrivate::signalHandler; //NOLINT
|
||||||
sigact.sa_flags = 0;
|
sigact.sa_flags = 0;
|
||||||
sigemptyset( &sigact.sa_mask );
|
sigemptyset( &sigact.sa_mask );
|
||||||
|
Loading…
Reference in New Issue
Block a user