[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-3/kiosktool
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-01-21 13:19:01
Message-ID: 20050121131901.67A861CF37 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Install files with proper permissions
M +6 -2 kioskrun.cpp 1.46
--- kdeextragear-3/kiosktool/kioskrun.cpp #1.45:1.46
@@ -1022,5 +1022,7 @@ KioskRun::install(const QString &file, c
do
{
- bool result = NETACCESS::upload(file, dest, kapp->mainWidget());
+ KURL src;
+ src.setPath(file);
+ bool result = NETACCESS::file_copy(src, dest, 0644, true, false, kapp->mainWidget());
if (result == true)
{
@@ -1057,5 +1059,7 @@ KioskRun::uploadRemote(const QString &fi
do
{
- bool result = NETACCESS::upload(file, dest, kapp->mainWidget());
+ KURL src;
+ src.setPath(file);
+ bool result = NETACCESS::file_copy(src, dest, 0644, true, false, kapp->mainWidget());
if (result == true)
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic