tellico/fix-compile.diff

49 lines
1.9 KiB
Diff

--- ./src/cite/lyxpipe.cpp 2007/02/06 08:26:20 1.1
+++ ./src/cite/lyxpipe.cpp 2007/02/06 08:26:46
@@ -18,6 +18,7 @@
#include "../core/tellico_config.h"
#include <qfile.h>
+#include <klocale.h>
#include <sys/types.h>
#include <sys/stat.h>
--- src/entryview.cpp 2007/02/06 08:36:01 1.1
+++ src/entryview.cpp 2007/02/06 08:36:12
@@ -25,6 +25,7 @@
#include "newstuff/manager.h"
#include "document.h"
+#include <klocale.h>
#include <kstandarddirs.h>
#include <krun.h>
#include <kmessagebox.h>
--- ./src/translators/audiofileimporter.cpp 2007/02/06 08:54:17 1.1
+++ ./src/translators/audiofileimporter.cpp 2007/02/06 09:16:19
@@ -220,10 +220,10 @@
entry->setField(file, insertValue(entry->field(file), *it, trackNum));
}
} else {
- myDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl;
+ kdDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl;
}
} else {
- myDebug() << *it << " has an empty title, so the track is not imported." << endl;
+ kdDebug() << *it << " has an empty title, so the track is not imported." << endl;
}
if(!tag->comment().stripWhiteSpace().isEmpty()) {
QString c = entry->field(comments);
@@ -338,9 +338,9 @@
list += QString::null;
}
if(!list[pos_-1].isNull()) {
- myDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl;
- myDebug() << "*** Old value: " << list[pos_-1] << endl;
- myDebug() << "*** New value: " << value_ << endl;
+ kdDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl;
+ kdDebug() << "*** Old value: " << list[pos_-1] << endl;
+ kdDebug() << "*** New value: " << value_ << endl;
}
list[pos_-1] = value_;
return list.join(QString::fromLatin1("; "));