mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-02 00:29:48 +02:00
Change logs to open the folder to show all logs
This commit is contained in:
parent
d044963d50
commit
e84e5d250e
@ -3,6 +3,7 @@ import QtQuick.Dialogs
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import QtCore
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
@ -482,16 +483,11 @@ Item {
|
||||
description: qsTr("If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.")
|
||||
buttonText: qsTr("Show Logs")
|
||||
onButtonPressed: {
|
||||
expanderDebug.toggle();
|
||||
const logsPath = StandardPaths.writableLocation(StandardPaths.GenericDataLocation) + "/ScreenPlay/Logs"
|
||||
App.util.openFolderInExplorer(logsPath)
|
||||
}
|
||||
}
|
||||
|
||||
SettingsExpander {
|
||||
id: expanderDebug
|
||||
|
||||
text: App.util.debugMessages
|
||||
}
|
||||
|
||||
SettingsHorizontalSeperator {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user