Мелкие правки
This commit is contained in:
parent
3c628659bc
commit
078732d308
@ -1,8 +1,8 @@
|
|||||||
#ifndef MYX_QT_POSIX_SIGNAL_WATCHER_CPP_
|
#ifndef MYX_QT_POSIX_SIGNAL_WATCHER_CPP_
|
||||||
#define MYX_QT_POSIX_SIGNAL_WATCHER_CPP_
|
#define MYX_QT_POSIX_SIGNAL_WATCHER_CPP_
|
||||||
|
|
||||||
#include <myx/core/config.hpp>
|
|
||||||
#include <myx/backports/cpp/helpers.hpp>
|
#include <myx/backports/cpp/helpers.hpp>
|
||||||
|
#include <myx/core/config.hpp>
|
||||||
|
|
||||||
#include <myx/qt/posix_signal_watcher.hpp>
|
#include <myx/qt/posix_signal_watcher.hpp>
|
||||||
#include <myx/qt/posix_signal_watcher_p.hpp>
|
#include <myx/qt/posix_signal_watcher_p.hpp>
|
||||||
@ -68,6 +68,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal )
|
|||||||
sigact.sa_flags = 0;
|
sigact.sa_flags = 0;
|
||||||
sigemptyset( &sigact.sa_mask );
|
sigemptyset( &sigact.sa_mask );
|
||||||
sigact.sa_flags |= SA_RESTART;
|
sigact.sa_flags |= SA_RESTART;
|
||||||
|
sigact.sa_restorer = nullptr;
|
||||||
if ( ::sigaction( signal, &sigact, nullptr ) != 0 )
|
if ( ::sigaction( signal, &sigact, nullptr ) != 0 )
|
||||||
{
|
{
|
||||||
qDebug() << "PosixSignalWatcher: sigaction: " << ::strerror( errno );
|
qDebug() << "PosixSignalWatcher: sigaction: " << ::strerror( errno );
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#ifndef MYX_QT_TRANSLATORS_CPP_
|
#ifndef MYX_QT_TRANSLATORS_CPP_
|
||||||
#define MYX_QT_TRANSLATORS_CPP_
|
#define MYX_QT_TRANSLATORS_CPP_
|
||||||
|
|
||||||
#include <myx/core/config.hpp>
|
|
||||||
#include <myx/backports/qt/common.hpp>
|
#include <myx/backports/qt/common.hpp>
|
||||||
|
#include <myx/core/config.hpp>
|
||||||
|
|
||||||
#include <myx/qt/translators.hpp>
|
#include <myx/qt/translators.hpp>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user