summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/irdaapplet/irda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp
index d57104b..848ddb4 100644
--- a/core/applets/irdaapplet/irda.cpp
+++ b/core/applets/irdaapplet/irda.cpp
@@ -51,13 +51,13 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) :
51 m_wasOn( false ), 51 m_wasOn( false ),
52 m_wasDiscover( false ) 52 m_wasDiscover( false )
53{ 53{
54 setFixedHeight( AppLnk::smallIconSize() ); 54 setFixedHeight( AppLnk::smallIconSize() );
55 setFixedWidth( AppLnk::smallIconSize() ); 55 setFixedWidth( AppLnk::smallIconSize() );
56 56
57 if (m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) == -1) 57 if ( ( m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) ) == -1)
58 perror ( "failed grabbing IrDA socket" ); 58 perror ( "failed grabbing IrDA socket" );
59 59
60 m_irdaOnPixmap = 60 m_irdaOnPixmap =
61 Opie::Core::OResource::loadPixmap( "irdaapplet/irdaon", 61 Opie::Core::OResource::loadPixmap( "irdaapplet/irdaon",
62 Opie::Core::OResource::SmallIcon ); 62 Opie::Core::OResource::SmallIcon );
63 m_irdaOffPixmap = 63 m_irdaOffPixmap =