author | zautrix <zautrix> | 2005-04-23 20:32:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-23 20:32:56 (UTC) |
commit | 119181e56ffd7987ae57749bde85935e29482955 (patch) (side-by-side diff) | |
tree | 194551ded27d91ad912d0cbc7dac29bbd502fc0e /microkde | |
parent | d5787e249e4c60fb8de5141b07f9bb4b94c65868 (diff) | |
download | kdepimpi-119181e56ffd7987ae57749bde85935e29482955.zip kdepimpi-119181e56ffd7987ae57749bde85935e29482955.tar.gz kdepimpi-119181e56ffd7987ae57749bde85935e29482955.tar.bz2 |
fixii
-rw-r--r-- | microkde/kapplication.cpp | 5 |
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 @@ -174,9 +174,12 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) QDir bupDir ( dp ); 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; } else if ( noDir.later() ) { |