From 5e1df29066295fd21fa232c6f8e0b584883c7462 Mon Sep 17 00:00:00 2001 From: signedav Date: Wed, 5 Sep 2018 08:39:51 +0200 Subject: [PATCH] remove unused qmlwidget class because using qquickwidget directly --- src/gui/CMakeLists.txt | 2 -- src/gui/qgsqmlwidget.cpp | 21 --------------------- src/gui/qgsqmlwidget.h | 27 --------------------------- 3 files changed, 50 deletions(-) delete mode 100644 src/gui/qgsqmlwidget.cpp delete mode 100644 src/gui/qgsqmlwidget.h diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 839c283ba70..76dc27e1918 100755 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -741,7 +741,6 @@ ADD_DEFINITIONS(-DWITH_QML) SET(QGIS_GUI_MOC_HDRS ${QGIS_GUI_MOC_HDRS} editorwidgets/qgsqmlwidgetwrapper.h - qgsqmlwidget.h ) ENDIF(Qt5Qml_FOUND) @@ -856,7 +855,6 @@ IF(Qt5Qml_FOUND) SET(QGIS_GUI_SRCS ${QGIS_GUI_SRCS} editorwidgets/qgsqmlwidgetwrapper.cpp - qgsqmlwidget.cpp ) ENDIF(Qt5Qml_FOUND) diff --git a/src/gui/qgsqmlwidget.cpp b/src/gui/qgsqmlwidget.cpp deleted file mode 100644 index 9dcdcb255fa..00000000000 --- a/src/gui/qgsqmlwidget.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/*************************************************************************** - qgsqmlwidget.cpp - - --------------------- - begin : 25.6.2018 - copyright : (C) 2018 by Matthias Kuhn - email : matthias@opengis.ch - *************************************************************************** - * * - * 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) any later version. * - * * - ***************************************************************************/ -#include "qgsqmlwidget.h" - -QgsQmlWidget::QgsQmlWidget() -{ - -} diff --git a/src/gui/qgsqmlwidget.h b/src/gui/qgsqmlwidget.h deleted file mode 100644 index 4b1a9f82fa2..00000000000 --- a/src/gui/qgsqmlwidget.h +++ /dev/null @@ -1,27 +0,0 @@ -/*************************************************************************** - qgsqmlwidget.h - - --------------------- - begin : 25.6.2018 - copyright : (C) 2018 by Matthias Kuhn - email : matthias@opengis.ch - *************************************************************************** - * * - * 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) any later version. * - * * - ***************************************************************************/ -#ifndef QGSQMLWIDGET_H -#define QGSQMLWIDGET_H - -#include "qgis_gui.h" - -class GUI_EXPORT QgsQmlWidget -{ - public: - QgsQmlWidget(); -}; - -#endif // QGSQMLWIDGET_H