mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	Hide by default menubar on linux.
This commit is contained in:
		| @@ -41,7 +41,7 @@ QtObject{ | ||||
|     property int height: 768 | ||||
|  | ||||
|     property bool fullscreen: false | ||||
|     property bool showMenubar: true | ||||
|     property bool showMenubar: Qt.platform.os === "osx" ? true : false | ||||
|  | ||||
|     property string wintitle: "cool-retro-term" | ||||
|  | ||||
|   | ||||
| @@ -11,7 +11,7 @@ MenuBar { | ||||
|     } | ||||
|     Menu { | ||||
|         title: qsTr("Edit") | ||||
|         visible: defaultMenuBar.visible | ||||
|         visible: defaultMenuBar.visible && appSettings.showMenubar | ||||
|         MenuItem {action: copyAction} | ||||
|         MenuItem {action: pasteAction} | ||||
|         MenuSeparator{visible: Qt.platform.os !== "osx"} | ||||
|   | ||||
| @@ -149,13 +149,12 @@ Item{ | ||||
|         id: linuxContextMenu | ||||
|         Menu{ | ||||
|             id: contextmenu | ||||
|             MenuItem{action: copyAction} | ||||
|             MenuItem{action: pasteAction} | ||||
|             MenuSeparator{} | ||||
|             MenuItem{action: fullscreenAction} | ||||
|             MenuItem{action: showMenubarAction} | ||||
|             MenuSeparator{visible: !appSettings.showMenubar} | ||||
|             CRTMainMenuBar{visible: !appSettings.showMenubar} | ||||
|             MenuItem { action: copyAction } | ||||
|             MenuItem { action: pasteAction } | ||||
|             MenuSeparator { visible: !appSettings.showMenubar } | ||||
|             MenuItem { action: showsettingsAction ; visible: !appSettings.showMenubar} | ||||
|             MenuSeparator { visible: !appSettings.showMenubar } | ||||
|             CRTMainMenuBar { visible: !appSettings.showMenubar } | ||||
|         } | ||||
|     } | ||||
|     Component { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user