diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-05-12 21:21:12 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-05-12 21:21:12 +0000 |
commit | 0e7b8654cfb71b7e344b889289dfda0cc214d902 (patch) | |
tree | 82e66d4b00fe7c130f4ec94ac2b3482bb94187ef /rbutil | |
parent | 3a91a94bae72597c9e9b0ea3797be3a4cf230c8a (diff) |
rbutil: also use elides when the backup filename is changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17484 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp index a2344c7346..30c054be9c 100644 --- a/rbutil/rbutilqt/install.cpp +++ b/rbutil/rbutilqt/install.cpp @@ -173,7 +173,7 @@ void Install::changeBackupPath() QString backupString = QFileDialog::getSaveFileName(this,"Select Backup Filename",m_backupName, "*.zip"); // only update if a filename was entered, ignore if cancelled if(!backupString.isEmpty()) { - ui.backupLocation->setText(QDir::toNativeSeparators(backupString)); + ui.backupLocation->setText(QDir::toNativeSeparators(fontMetrics().elidedText(backupString,Qt::ElideMiddle,200))); m_backupName = backupString; } } |