summaryrefslogtreecommitdiff
path: root/src/watchconnector.h
diff options
context:
space:
mode:
authorJouni Roivas <jroivas@iki.fi>2014-01-14 00:30:43 +0200
committerJouni Roivas <jroivas@iki.fi>2014-01-14 00:30:43 +0200
commiteb954450558344651e7589c5491488b8356a95be (patch)
tree3419d5c594cc6a108412617511ec29ea23c21b3e /src/watchconnector.h
parentb3480884915e9ee04846945cda9800216c55668f (diff)
License formatting. Fix cover page information.
Diffstat (limited to 'src/watchconnector.h')
-rw-r--r--src/watchconnector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/watchconnector.h b/src/watchconnector.h
index 59ea632..198f703 100644
--- a/src/watchconnector.h
+++ b/src/watchconnector.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013 Jouni Roivas
+ Copyright (C) 2014 Jouni Roivas
All rights reserved.
You may use this file under the terms of BSD license as follows:
@@ -11,7 +11,7 @@
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- * Neither the name of the Jolla Ltd nor the
+ * Neither the name of the authors nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -80,7 +80,7 @@ public:
explicit WatchConnector(QObject *parent = 0);
virtual ~WatchConnector();
bool isConnected() const { return is_connected; }
- QString name() const { if (socket != nullptr) return socket->peerName(); return "";}
+ QString name() const { if (socket != nullptr) return socket->peerName(); return ""; }
QString timeStamp();
QString decodeEndpoint(unsigned int val);