Declare QDBusArgument for QImage in osddbus.h

This commit is contained in:
Jonas Kvinge
2020-08-23 03:19:40 +02:00
parent d74fc8d1ce
commit b5e27d4d69
5 changed files with 6 additions and 18 deletions

View File

@@ -63,9 +63,6 @@
#include <QSettings>
#include <QLoggingCategory>
#include <QtDebug>
#ifdef HAVE_DBUS
# include <QDBusArgument>
#endif
#ifdef HAVE_TRANSLATIONS
# include <QTranslator>
#endif
@@ -110,11 +107,6 @@
# include "osd/osdbase.h"
#endif
#ifdef HAVE_DBUS
QDBusArgument &operator<<(QDBusArgument &arg, const QImage &image);
const QDBusArgument &operator>>(const QDBusArgument &arg, QImage &image);
#endif
int main(int argc, char* argv[]) {
#ifdef Q_OS_MACOS