mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01: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
|
||||||
import QtQuick.Controls.Material
|
import QtQuick.Controls.Material
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
import QtCore
|
||||||
import Qt5Compat.GraphicalEffects
|
import Qt5Compat.GraphicalEffects
|
||||||
import ScreenPlayApp
|
import ScreenPlayApp
|
||||||
import ScreenPlay
|
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.")
|
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")
|
buttonText: qsTr("Show Logs")
|
||||||
onButtonPressed: {
|
onButtonPressed: {
|
||||||
expanderDebug.toggle();
|
const logsPath = StandardPaths.writableLocation(StandardPaths.GenericDataLocation) + "/ScreenPlay/Logs"
|
||||||
|
App.util.openFolderInExplorer(logsPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsExpander {
|
|
||||||
id: expanderDebug
|
|
||||||
|
|
||||||
text: App.util.debugMessages
|
|
||||||
}
|
|
||||||
|
|
||||||
SettingsHorizontalSeperator {
|
SettingsHorizontalSeperator {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user