Fix FTBS of nm-tray

Summary:
  * Add missing include for used class
  * Remove unnecessary dependency on libkf5networkmanagerqt-dev

Test Plan:
1. Check that the build does not fail.
           2. Check that it has the same behaviour as before.

Reviewers: wxl, tsimonq2, hmollercl

Differential Revision: https://phab.lubuntu.me/D48
backports/focal
apt-ghetto 5 years ago
parent 41338fc73e
commit 02814a7ea5

7
debian/changelog vendored

@ -1,3 +1,10 @@
nm-tray (0.4.3-0ubuntu2) eoan; urgency=medium
* Add missing include for used class
* Removed dependency on libkf5networkmanagerqt-dev (LP: #1816267)
-- apt-ghetto <apt-ghetto@lubuntu.me> Thu, 03 Oct 2019 18:06:08 +0200
nm-tray (0.4.3-0ubuntu1) eoan; urgency=medium
* Bump version for new upstream release 0.4.3

3
debian/control vendored

@ -15,8 +15,7 @@ Vcs-Git: https://phab.lubuntu.me/source/nm-tray.git
Package: nm-tray
Architecture: any
Depends: libkf5networkmanagerqt-dev (>= 5.36.0),
${misc:Depends},
Depends: ${misc:Depends},
${shlibs:Depends}
Description: simple NetworkManager front end
nm-tray is a simple NetworkManager front end with information icon residing

@ -0,0 +1,18 @@
Description: Add missing include for used class
Author: Palo Kisa <palo.kisa@gmail.com>
Applied-Upstream: https://github.com/palinek/nm-tray/commit/4563dabee3cbee13bc9d23a4a5d0ddda1526b43f
---
src/nmmodel.cpp | 1 +
1 file changed, 1 insertion(+)
--- a/src/nmmodel.cpp
+++ b/src/nmmodel.cpp
@@ -45,6 +45,7 @@ COPYRIGHT_HEADER*/
#include <NetworkManagerQt/ConnectionSettings>
#include <QDBusPendingCallWatcher>
#include <QInputDialog>
+#include <QMetaEnum>
namespace
{

@ -1,2 +1,3 @@
generalize-terminal-for-edits.patch
blacklist-from-menu.patch
include_used_class.patch

Loading…
Cancel
Save