Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
cc09a2a7
Commit
cc09a2a7
authored
Jan 15, 2021
by
Antonio Prcela
🏞
Committed by
Nate Graham
Jan 21, 2021
Browse files
Show path in window title while in browse mode
parent
d7939fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/mainwindow.cpp
View file @
cc09a2a7
...
...
@@ -1037,7 +1037,7 @@ void MainWindow::setActiveViewModeAction(QAction* action)
// his image back.
d
->
mViewMainPage
->
reset
();
}
setCaption
(
Q
String
());
setCaption
(
d
->
mUrlNavigator
->
locationUrl
().
adjusted
(
QUrl
::
RemoveScheme
).
to
String
());
}
d
->
autoAssignThumbnailProvider
();
toggleSideBar
(
d
->
sideBarVisibility
());
...
...
@@ -1287,6 +1287,9 @@ void MainWindow::slotCurrentDirUrlChanged(const QUrl &url)
if
(
url
.
isValid
())
{
d
->
mUrlNavigator
->
setLocationUrl
(
url
);
d
->
mGoUpAction
->
setEnabled
(
url
.
path
()
!=
"/"
);
if
(
d
->
mCurrentMainPageId
==
BrowseMainPageId
)
{
setCaption
(
d
->
mUrlNavigator
->
locationUrl
().
adjusted
(
QUrl
::
RemoveScheme
).
toString
());
}
}
else
{
d
->
mGoUpAction
->
setEnabled
(
false
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment