projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add setting for the snap-to-edge distance
[pulseview.git]
/
signalhandler.cpp
diff --git
a/signalhandler.cpp
b/signalhandler.cpp
index 4736292cb63ddee8c06791ea3584b01497e81bc8..14706261b7d483bc0a031be43f82104549b6f5ca 100644
(file)
--- a/
signalhandler.cpp
+++ b/
signalhandler.cpp
@@
-14,15
+14,15
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "signalhandler.hpp"
*/
#include "signalhandler.hpp"
-#include <assert.h>
-#include <signal.h>
-#include <stdlib.h>
+#include <cassert>
+#include <csignal>
+#include <cstdlib>
+
#include <sys/socket.h>
#include <unistd.h>
#include <sys/socket.h>
#include <unistd.h>
@@
-71,8
+71,7
@@
void SignalHandler::on_socket_notifier_activated()
abort();
}
abort();
}
- switch(sig_number)
- {
+ switch (sig_number) {
case SIGINT:
Q_EMIT int_received();
break;
case SIGINT:
Q_EMIT int_received();
break;