|
|
|
@ -57,7 +57,7 @@ TQString KVTNewStuff::destinationPath(KNS::Entry * entry)
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
file = TQDir::home().path() + "/" + path + "/";
|
|
|
|
|
KStandardDirs::makeDir(file); //ensure the directory exists
|
|
|
|
|
TDEStandardDirs::makeDir(file); //ensure the directory exists
|
|
|
|
|
file += fileName;
|
|
|
|
|
}
|
|
|
|
|
return file;
|
|
|
|
@ -71,7 +71,7 @@ TQString KVTNewStuff::downloadDestination(KNS::Entry * entry)
|
|
|
|
|
{
|
|
|
|
|
TQString file = destinationPath(entry);
|
|
|
|
|
|
|
|
|
|
if (KStandardDirs::exists(file))
|
|
|
|
|
if (TDEStandardDirs::exists(file))
|
|
|
|
|
{
|
|
|
|
|
int result = KMessageBox::warningContinueCancel(parentWidget(),
|
|
|
|
|
i18n("The file '%1' already exists. Do you want to overwrite it?")
|
|
|
|
|