1
0
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:
Elias Steurer 2023-10-29 18:31:09 +01:00
parent d044963d50
commit e84e5d250e

View File

@ -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 {
}