summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kapplication.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index 2c9e3b6..f36c5ae 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -175,7 +175,10 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
bool tryAgain = true;
while ( tryAgain ) {
if ( !bupDir.exists() ) {
- KBackupPrefs noDir( i18n("<b>Backup directory does not exist: </b>") + dp.right(30));
+ QString bd = dp.right(25);
+ if ( dp.length() > 25 )
+ bd = "..." + bd;
+ KBackupPrefs noDir( i18n("<b>Backup directory does not exist: </b>") + bd);
if ( !noDir.exec() ) return 3;
if ( noDir.againTomorrow() ) {
return 0;