Browse Source

style fixed

cl-refactor
arkpar 10 years ago
parent
commit
2b1f716d10
  1. 1
      mix/CMakeLists.txt
  2. 3
      mix/qml/WebPreview.qml

1
mix/CMakeLists.txt

@ -26,7 +26,6 @@ else()
qt5_add_resources(UI_RESOURCES noweb.qrc) qt5_add_resources(UI_RESOURCES noweb.qrc)
endif() endif()
# eth_add_executable is defined in cmake/EthExecutableHelper.cmake # eth_add_executable is defined in cmake/EthExecutableHelper.cmake
eth_add_executable(${EXECUTABLE} eth_add_executable(${EXECUTABLE}
ICON mix ICON mix

3
mix/qml/WebPreview.qml

@ -5,7 +5,6 @@ import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.1 import QtQuick.Controls.Styles 1.1
import QtWebEngine 1.0 import QtWebEngine 1.0
import Qt.WebSockets 1.0 import Qt.WebSockets 1.0
//import QtWebEngine.experimental 1.0
Item { Item {
id: webPreview id: webPreview
@ -153,8 +152,6 @@ Item {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
id: webView id: webView
//experimental.settings.localContentCanAccessFileUrls: true
//experimental.settings.localContentCanAccessRemoteUrls: true
onJavaScriptConsoleMessage: { onJavaScriptConsoleMessage: {
console.log(sourceID + ":" + lineNumber + ":" + message); console.log(sourceID + ":" + lineNumber + ":" + message);
} }

Loading…
Cancel
Save