From 863d64b2fd915d2a9ff51ca99bd7020ebb8714e2 Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Fri, 14 Apr 2017 18:06:44 +0100 Subject: [PATCH] removed comments and non-needed files --- .../resources/qml/controls/TabletWebView.qml | 2 - .../qml/hifi/tablet/TabletStoryCard.qml | 46 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 interface/resources/qml/hifi/tablet/TabletStoryCard.qml diff --git a/interface/resources/qml/controls/TabletWebView.qml b/interface/resources/qml/controls/TabletWebView.qml index 7e2e6d0a26..9a08e8b866 100644 --- a/interface/resources/qml/controls/TabletWebView.qml +++ b/interface/resources/qml/controls/TabletWebView.qml @@ -132,9 +132,7 @@ Item { if (lurl[lurl.length - 1] !== "/") { lurl = lurl + "/" } - console.log("-------------> is time running " + timer.running + " <--------------"); if (currentPage === -1 || (pagesModel.get(currentPage).webUrl !== lurl && !timer.running)) { - console.log("---------> appending the url ----------> " + lurl); timer.start(); pagesModel.append({webUrl: lurl}); } diff --git a/interface/resources/qml/hifi/tablet/TabletStoryCard.qml b/interface/resources/qml/hifi/tablet/TabletStoryCard.qml deleted file mode 100644 index 1d57c8a083..0000000000 --- a/interface/resources/qml/hifi/tablet/TabletStoryCard.qml +++ /dev/null @@ -1,46 +0,0 @@ -// -// TabletAddressDialog.qml -// -// Created by Dante Ruiz on 2017/04/24 -// Copyright 2015 High Fidelity, Inc. -// -// Distributed under the Apache License, Version 2.0. -// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html -// - -import Hifi 1.0 -import QtQuick 2.4 -import QtGraphicalEffects 1.0 -import "../../controls" -import "../../styles" -import "../../windows" -import "../" -import "../toolbars" -import "../../styles-uit" as HifiStyles -import "../../controls-uit" as HifiControlsUit -import "../../controls" as HifiControls - - -Rectangle { - id: cardRoot - HifiStyles.HifiConstants { id: hifi } - width: parent.width - height: parent.height - property string address: "" - property alias eventBridge: webview.eventBridge - function setUrl(url) { - cardRoot.address = url; - webview.url = url; - } - - HifiControls.TabletWebView { - id: webview - parentStackItem: root - anchors { - top: parent.top - right: parent.right - left: parent.left - bottom: parent.bottom - } - } -}