Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dano6 committed Nov 24, 2020
1 parent 14a1119 commit 6894018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/app/webbrowser/BrowserTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ FocusScope {
property bool incognito
readonly property bool empty: !url.toString() && !initialUrl.toString() && !restoreState && !request
property bool loadingPreview: false
readonly property size previewSize: Qt.size(webview.width*Screen.devicePixelRatio,
webview.height*Screen.devicePixelRatio)
readonly property size previewThumbnailSize: Qt.size(webview.width/1.5,
webview.height/1.5)
readonly property size previewSize: webview ? Qt.size(webview.width*Screen.devicePixelRatio,
webview.height*Screen.devicePixelRatio) : Qt.size(0,0)
readonly property size previewThumbnailSize: webview ? Qt.size(webview.width/1.5,
webview.height/1.5) : Qt.size(0,0)
//store reference to preview to avoid clearing by garbage collector
property var previewCache
visible: false
Expand Down
1 change: 0 additions & 1 deletion src/app/webbrowser/TabPreview.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ QQC2.SwipeDelegate {
readonly property url url: tab ? tab.url : ""

background: Rectangle {
anchors.fill: parent
color: "transparent"
}
padding: 0
Expand Down

0 comments on commit 6894018

Please sign in to comment.