File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Rectangle { // eventually move to ApplicationWindow
2828 checkable: true
2929 checked: mainWindow .main_window_view_model .toolbar_view_model .recording
3030 icon .source : startButton .checked ? " qrc:/images-src/stop.svg" : " qrc:/images-src/start.svg"
31+ icon .color : undefined
3132 text: startButton .checked ? qsTr (" Stop" ) : qsTr (" Start" )
3233 ToolTip .text : qsTr (" Start/Stop" )
3334 icon .height : 32
@@ -40,6 +41,7 @@ Rectangle { // eventually move to ApplicationWindow
4041 ToolButton {
4142 id: newDockButton
4243 icon .source : " qrc:/images-src/new-dock.svg"
44+ icon .color : undefined
4345 text: qsTr (" New dock" )
4446 ToolTip .text : qsTr (" Add a new dock to Friture window" )
4547 icon .height : 32
@@ -51,6 +53,7 @@ Rectangle { // eventually move to ApplicationWindow
5153 ToolButton {
5254 id: settingsButton
5355 icon .source : " qrc:/images-src/tools.svg"
56+ icon .color : undefined
5457 text: qsTr (" Settings" )
5558 ToolTip .text : qsTr (" Display settings dialog" )
5659 icon .height : 32
@@ -62,6 +65,7 @@ Rectangle { // eventually move to ApplicationWindow
6265 ToolButton {
6366 id: aboutButton
6467 icon .source : " qrc:/images-src/window-icon.svg"
68+ icon .color : undefined
6569 text: qsTr (" About Friture" )
6670 icon .height : 32
6771 icon .width : 32
Original file line number Diff line number Diff line change @@ -452,7 +452,8 @@ def main():
452452 logger .info ("Applying Windows-specific setup" )
453453
454454 # enable automatic scaling for high-DPI screens
455- os .environ ["QT_AUTO_SCREEN_SCALE_FACTOR" ] = "1"
455+ if "QT_AUTO_SCREEN_SCALE_FACTOR" not in os .environ :
456+ os .environ ["QT_AUTO_SCREEN_SCALE_FACTOR" ] = "1"
456457
457458 # set the App ID for Windows 7 to properly display the icon in the
458459 # taskbar.
@@ -479,7 +480,8 @@ def main():
479480 # Set the style for Qt Quick Controls
480481 # We choose the Fusion style as it is a desktop-oriented style
481482 # It uses the standard system palettes to provide colors that match the desktop environment.
482- os .environ ["QT_QUICK_CONTROLS_STYLE" ] = "Fusion"
483+ if "QT_QUICK_CONTROLS_STYLE" not in os .environ :
484+ os .environ ["QT_QUICK_CONTROLS_STYLE" ] = "Fusion"
483485
484486 # Splash screen
485487 if not program_arguments .no_splash :
You can’t perform that action at this time.
0 commit comments