[scripting] Drop qmlRegisterType for QQuickWindow
Not needed as one can just do: import QtQuick.Window; This fixes a build problem with Qt 5.4. BUG: 338277
This commit is contained in:
parent
493e9b3238
commit
c00c67bf29
2 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,6 @@ void KWin::Scripting::init()
|
|||
qmlRegisterType<KWin::ScriptingClientModel::ClientModelByScreenAndDesktop>("org.kde.kwin", 2, 0, "ClientModelByScreenAndDesktop");
|
||||
qmlRegisterType<KWin::ScriptingClientModel::ClientFilterModel>("org.kde.kwin", 2, 0, "ClientFilterModel");
|
||||
qmlRegisterType<KWin::Client>();
|
||||
qmlRegisterType<QQuickWindow>();
|
||||
qmlRegisterType<QAbstractItemModel>();
|
||||
|
||||
m_qmlEngine->rootContext()->setContextProperty(QStringLiteral("workspace"), m_workspaceWrapper);
|
||||
|
|
|
@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
import QtQuick 2.0;
|
||||
import QtQuick.Window 2.0;
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore;
|
||||
import org.kde.plasma.components 2.0 as Plasma;
|
||||
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons;
|
||||
|
|
Loading…
Reference in a new issue