summaryrefslogtreecommitdiffabout
path: root/libkcal/sharpformat.cpp
authorzautrix <zautrix>2004-09-14 02:04:12 (UTC)
committer zautrix <zautrix>2004-09-14 02:04:12 (UTC)
commit5060b0737c0c279859cac3bcfb73d2ac21c6a79e (patch) (side-by-side diff)
tree8de6965559cb5bd6eba1eea5c635315d0945cfd1 /libkcal/sharpformat.cpp
parent739fec31c8cea89dd40ff1ce7dd7b84b05e4e973 (diff)
downloadkdepimpi-5060b0737c0c279859cac3bcfb73d2ac21c6a79e.zip
kdepimpi-5060b0737c0c279859cac3bcfb73d2ac21c6a79e.tar.gz
kdepimpi-5060b0737c0c279859cac3bcfb73d2ac21c6a79e.tar.bz2
debug off
Diffstat (limited to 'libkcal/sharpformat.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/sharpformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp
index 89eb72f..a53b3f8 100644
--- a/libkcal/sharpformat.cpp
+++ b/libkcal/sharpformat.cpp
@@ -356,34 +356,34 @@ ulong SharpFormat::getCsum( const QStringList & attList)
if ( ! s.isEmpty() ){
j = s.length();
for ( k = 0; k < j; ++k ) {
int mul = k +1;
add = s[k].unicode ();
if ( k < 16 )
mul = mul * mul;
add = add * mul *i*i*i;
cSum += add;
}
}
}
return cSum;
}
#include <stdlib.h>
-//#define DEBUGMODE false
-#define DEBUGMODE true
+#define DEBUGMODE false
+//#define DEBUGMODE true
bool SharpFormat::load( Calendar *calendar, Calendar *existngCal )
{
bool debug = DEBUGMODE;
QString text;
QString codec = "utf8";
QLabel status ( i18n("Reading events ..."), 0 );
int w = status.sizeHint().width()+20 ;
if ( w < 200 ) w = 200;
int h = status.sizeHint().height()+20 ;
int dw = QApplication::desktop()->width();
int dh = QApplication::desktop()->height();
status.setCaption(i18n("Reading DTM Data") );
status.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h );