qt: Fix building with Qt6

* lang/qt/src/util.cpp, lang/qt/src/util.h: Replace forward declaration
with include.
--

Based on patch by Laurent Montel
This commit is contained in:
Ingo Klöcker 2022-08-22 09:30:14 +02:00
parent f02c20cc9c
commit 0566180684
2 changed files with 2 additions and 4 deletions

View File

@ -37,8 +37,6 @@
#include "util.h" #include "util.h"
#include <QStringList>
#include <key.h> #include <key.h>
#include <algorithm> #include <algorithm>

View File

@ -34,14 +34,14 @@
#ifndef __QGPGME_UTIL_H__ #ifndef __QGPGME_UTIL_H__
#define __QGPGME_UTIL_H__ #define __QGPGME_UTIL_H__
#include <QStringList>
#include <gpgme.h> #include <gpgme.h>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <vector> #include <vector>
class QStringList;
namespace GpgME namespace GpgME
{ {
class Key; class Key;