X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=signalhandler.cpp;h=14706261b7d483bc0a031be43f82104549b6f5ca;hp=4736292cb63ddee8c06791ea3584b01497e81bc8;hb=6e2a5b1d677a26a637465cd4d304e2bc52e14f36;hpb=f74015db20c1ac85df6397df7199a030e6db828f diff --git a/signalhandler.cpp b/signalhandler.cpp index 4736292c..14706261 100644 --- 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 - * 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 . */ #include "signalhandler.hpp" -#include -#include -#include +#include +#include +#include + #include #include @@ -71,8 +71,7 @@ void SignalHandler::on_socket_notifier_activated() abort(); } - switch(sig_number) - { + switch (sig_number) { case SIGINT: Q_EMIT int_received(); break;