include filename in caption

This commit is contained in:
Marco Martin 2012-09-28 20:14:14 +02:00
parent ece99efc73
commit 8741e31b78

View file

@ -38,6 +38,9 @@ Image {
Okular.DocumentItem {
id: documentItem
onPathChanged: {
application.caption = path.replace(/^.*[\\\/]/, '')
}
}
PlasmaComponents.PageStack {