~ubuntu-branches/debian/sid/qpdfview/sid

« back to all changes in this revision

Viewing changes to sources/signalhandler.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-07-30 00:00:25 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130730000025-lsj8rjj0brpaj5ve
Tags: 0.4.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    m_socketNotifier->setEnabled(false);
74
74
 
75
75
    int sigNumber;
76
 
    read(s_sockets[1], &sigNumber, sizeof(int));
 
76
    Q_UNUSED(read(s_sockets[1], &sigNumber, sizeof(int)));
77
77
 
78
78
    switch(sigNumber)
79
79
    {
90
90
 
91
91
void SignalHandler::handleSignals(int sigNumber)
92
92
{
93
 
    write(s_sockets[0], &sigNumber, sizeof(int));
 
93
    Q_UNUSED(write(s_sockets[0], &sigNumber, sizeof(int)));
94
94
}