[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:16 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=229e3aa
The following commit has been merged in the master branch:
commit 229e3aa0700f8b18dc91f6ce61e17b566e6b5666
Author: Albert Vaca <albertvaka at gmail.com>
Date: Sun Oct 18 19:42:40 2015 -0700
Removed unused class
---
core/backends/lan/lanlinkprovider.h | 1 -
core/backends/lan/netaddress.h | 37 -------------------------------------
2 files changed, 38 deletions(-)
diff --git a/core/backends/lan/lanlinkprovider.h b/core/backends/lan/lanlinkprovider.h
index 81f2f75..eb89728 100644
--- a/core/backends/lan/lanlinkprovider.h
+++ b/core/backends/lan/lanlinkprovider.h
@@ -26,7 +26,6 @@
#include <QUdpSocket>
#include "../linkprovider.h"
-#include "netaddress.h"
class LanLinkProvider
: public LinkProvider
diff --git a/core/backends/lan/netaddress.h b/core/backends/lan/netaddress.h
deleted file mode 100644
index f264ba1..0000000
--- a/core/backends/lan/netaddress.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Copyright 2013 Albert Vaca <albertvaka at gmail.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License or (at your option) version 3 or any later version
- * accepted by the membership of KDE e.V. (or its successor approved
- * by the membership of KDE e.V.), which shall act as a proxy
- * defined in Section 14 of version 3 of the license.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * 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, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef NETADDRESS_H
-#define NETADDRESS_H
-
-#include <QHostAddress>
-
-struct NetAddress {
- NetAddress() { }
- NetAddress(QHostAddress _ip, quint16 _port) : ip(_ip), port(_port) { }
- QHostAddress ip;
- quint16 port;
-};
-
-inline bool operator< (const NetAddress& a, const NetAddress& b){
- return (a.ip.toString()+a.port) < (b.ip.toString()+b.port);
-}
-
-#endif // NETADDRESS_H
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list