[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/scriptengines/qedjescript
From: Artur Duque de Souza <morpheuz () gmail ! com>
Date: 2008-09-30 22:58:30
Message-ID: 1222815510.648486.8836.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 866463 by asouza:
Removed debug messages from QEdje script engine
M +2 -7 qedje_package.cpp
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/qedjescript/qedje_package.cpp #866462:866463
@@ -38,16 +38,12 @@
// Create the directory so we can copy the edje file inside it
QDir contents(dest_dir);
- if (!contents.exists() && !contents.mkpath(dest_dir)) {
- kDebug() << "-------> RETURNED FALSE 1 <-------------";
+ if (!contents.exists() && !contents.mkpath(dest_dir))
return false;
- }
// Copy the edje file to the package's directory
- if (!QFile::copy(archive_path, QString(dest_dir + "file.edj"))) {
- kDebug() << "-------> RETURNED FALSE 2 <-------------";
+ if (!QFile::copy(archive_path, QString(dest_dir + "file.edj")))
return false;
- }
setPath(dest_dir);
@@ -60,6 +56,5 @@
data.setDescription("An Edje Object to be loaded using QEdje");
Plasma::Package::registerPackage(data, QString(""));
- kDebug() << "-------> RETURNED TRUE <-------------";
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic