diff options
| author | Nate Graham <[email protected]> | 2019-05-20 07:15:05 -0600 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2019-05-20 07:15:05 -0600 |
| commit | 2907a34bb54beea207f0a2b816521c75ba571684 (patch) | |
| tree | d71b806f5930a1a59507d8a5819fd89aef2c42e2 /src | |
| parent | 35e92fdec56aab4113a065c393979b2bc6f14428 (diff) | |
| parent | d863dd9ad46b3a291751bcb9d6fd3930c4ea8afb (diff) | |
Merge branch 'Applications/19.04'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphintabwidget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index 3d03b3284..e54ab5ada 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -19,6 +19,7 @@ #include "dolphintabwidget.h" +#include "dolphin_generalsettings.h" #include "dolphintabbar.h" #include "dolphintabpage.h" #include "dolphinviewcontainer.h" @@ -114,6 +115,14 @@ void DolphinTabWidget::readProperties(const KConfigGroup& group) void DolphinTabWidget::refreshViews() { + // Left-elision is better when showing full paths, since you care most + // about the current directory which is on the right + if (GeneralSettings::showFullPathInTitlebar()) { + setElideMode(Qt::ElideLeft); + } else { + setElideMode(Qt::ElideRight); + } + const int tabCount = count(); for (int i = 0; i < tabCount; ++i) { tabBar()->setTabText(i, tabName(tabPageAt(i))); |
