~ubuntu-branches/ubuntu/jaunty/soprano/jaunty

« back to all changes in this revision

Viewing changes to server/localsocketclient.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2009-02-27 20:07:11 UTC
  • mfrom: (1.1.14 upstream) (12.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090227200711-xhshx5mctbk1jdfl
Tags: 2.2.2+dfsg.1-1ubuntu1
* Merge from Debian unstable - remaining Kubuntu changes:
  - Non library files split out into soprano-daemon
  - Drop libsoprano4.symbols.in until Karmic when we can get the symbols
    generation tools properly integrated into the Kubuntu toolset
  - Specify DEB_DH_MAKESHLIBS_ARGS_libsoprano4 in debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        }
81
81
 
82
82
        bool LocalSocketClientConnection::isConnected( QIODevice* device ) {
83
 
            if (!device)
84
 
                return false;
85
 
            else        
86
 
                return( static_cast<QLocalSocket*>( device )->state() == QLocalSocket::ConnectedState );
 
83
            return( device ? static_cast<QLocalSocket*>( device )->state() == QLocalSocket::ConnectedState : false );
87
84
        }
88
85
    }
89
86
}