Commit 63d59e90 authored by Camilo higuita's avatar Camilo higuita

fix issue with qtwebengine on plasma mobile

parent f9a795b5
...@@ -33,7 +33,7 @@ int main(int argc, char *argv[]) ...@@ -33,7 +33,7 @@ int main(int argc, char *argv[])
QtWebView::initialize(); QtWebView::initialize();
#else #else
QApplication app(argc, argv); QApplication app(argc, argv);
QtWebEngine::initialize(); // QtWebEngine::initialize();
#endif #endif
app.setApplicationName(OWL::App); app.setApplicationName(OWL::App);
......
...@@ -20,6 +20,8 @@ Maui.ApplicationWindow ...@@ -20,6 +20,8 @@ Maui.ApplicationWindow
altToolBars: false altToolBars: false
/**** BRANDING COLORS ****/ /**** BRANDING COLORS ****/
menuButton.colorScheme.highlightColor: altColorText
searchButton.colorScheme.highlightColor: altColorText
colorSchemeName: "buho" colorSchemeName: "buho"
headBarBGColor: accentColor headBarBGColor: accentColor
headBarFGColor: altColorText headBarFGColor: altColorText
...@@ -44,6 +46,7 @@ Maui.ApplicationWindow ...@@ -44,6 +46,7 @@ Maui.ApplicationWindow
{ {
onClicked: currentView = views.notes onClicked: currentView = views.notes
iconColor: currentView === views.notes? altColorText : headBarTint iconColor: currentView === views.notes? altColorText : headBarTint
colorScheme.highlightColor: altColorText
iconName: "view-notes" iconName: "view-notes"
text: qsTr("Notes") text: qsTr("Notes")
}, },
...@@ -52,6 +55,7 @@ Maui.ApplicationWindow ...@@ -52,6 +55,7 @@ Maui.ApplicationWindow
{ {
onClicked: currentView = views.links onClicked: currentView = views.links
iconColor: currentView === views.links? altColorText : headBarTint iconColor: currentView === views.links? altColorText : headBarTint
colorScheme.highlightColor: altColorText
iconName: "view-links" iconName: "view-links"
text: qsTr("Links") text: qsTr("Links")
}, },
...@@ -60,6 +64,7 @@ Maui.ApplicationWindow ...@@ -60,6 +64,7 @@ Maui.ApplicationWindow
{ {
onClicked: currentView = views.books onClicked: currentView = views.books
iconColor: currentView === views.books? altColorText : headBarTint iconColor: currentView === views.books? altColorText : headBarTint
colorScheme.highlightColor: altColorText
iconName: "view-books" iconName: "view-books"
text: qsTr("Books") text: qsTr("Books")
}, },
...@@ -67,6 +72,7 @@ Maui.ApplicationWindow ...@@ -67,6 +72,7 @@ Maui.ApplicationWindow
Maui.ToolButton Maui.ToolButton
{ {
iconColor: currentView === views.tags? altColorText : headBarTint iconColor: currentView === views.tags? altColorText : headBarTint
colorScheme.highlightColor: altColorText
iconName: "tag" iconName: "tag"
text: qsTr("Tags") text: qsTr("Tags")
} }
......
...@@ -12,7 +12,7 @@ GridView ...@@ -12,7 +12,7 @@ GridView
property alias menu : cardMenu property alias menu : cardMenu
readonly property int defaultSize : unit * 200 readonly property int defaultSize : unit * 200
property int itemWidth : !gridView ? width : property int itemWidth : !gridView ? width :
(isMobile? width * 0.5 : unit * 400) (isMobile ? width * 0.5 : unit * 400)
property int itemHeight: unit * 180 property int itemHeight: unit * 180
property int itemSpacing: space.huge property int itemSpacing: space.huge
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment