[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdelibs/kdeprint
From: Stephan Binner <binner () kde ! org>
Date: 2004-02-17 16:49:47
Message-ID: 20040217164947.E58159961 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Fix #68399, patch by Friedrich W. H. Kossebau
M +8 -1 kprintdialog.cpp 1.74.2.2
--- kdelibs/kdeprint/kprintdialog.cpp #1.74.2.1:1.74.2.2
@@ -700,4 +700,8 @@ bool KPrintDialog::checkOutputFile()
return true;
+ bool anotherCheck;
+ do
+ {
+ anotherCheck = false;
QFileInfo f(url.path());
if (f.exists())
@@ -720,6 +724,8 @@ bool KPrintDialog::checkOutputFile()
break;
case KIO::R_RENAME:
- d->m_file->lineEdit()->setText( \
dlg.newDestURL().path() ); + url = \
dlg.newDestURL(); + \
d->m_file->lineEdit()->setText( url.path() ); value = true;
+ anotherCheck = true;
break;
}
@@ -738,4 +744,5 @@ bool KPrintDialog::checkOutputFile()
value = true;
}
+ } while( anotherCheck );
}
return value;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic