summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-12-23 16:16:11 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-12-23 16:29:13 (GMT)
commitfe5b5e25eadbfe9f8bdaa152b987273ab77d4711 (patch)
tree38826d7b91a8536a40f5efe49659d2e982c59ae2
parent491ddd570a752cf9bda85933bed0c6942e39b1f9 (diff)
downloadswift-contrib-fe5b5e25eadbfe9f8bdaa152b987273ab77d4711.zip
swift-contrib-fe5b5e25eadbfe9f8bdaa152b987273ab77d4711.tar.bz2
Remove spurious qdebug
Change-Id: Ifcdcafb22a37f2cdaccf2b31d21eb5a42b1bf2b2
-rw-r--r--Swift/QtUI/QtSwift.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp
index 944656d..96e08a3 100644
--- a/Swift/QtUI/QtSwift.cpp
+++ b/Swift/QtUI/QtSwift.cpp
@@ -104,15 +104,12 @@ XMLSettingsProvider* QtSwift::loadSettingsFile(const QString& fileName) {
}
void QtSwift::loadEmoticonsFile(const QString& fileName, QMap<QString, QString>& emoticons) {
- qDebug() << "Trying to load " << fileName;
QFile file(fileName);
if (file.exists() && file.open(QIODevice::ReadOnly)) {
- qDebug() << "Success";
while (!file.atEnd()) {
QString line = file.readLine();
line.replace("\n", "");
line.replace("\r", "");
- qDebug() << "Parsing line : " << line;
QStringList tokens = line.split(" ");
if (tokens.size() == 2) {
QString emoticonFile = tokens[1];
@@ -120,11 +117,9 @@ void QtSwift::loadEmoticonsFile(const QString& fileName, QMap<QString, QString>&
emoticonFile = "file://" + emoticonFile;
}
emoticons[tokens[0]] = emoticonFile;
- qDebug() << "Adding mapping from " << tokens[0] << " to " << emoticonFile;
}
}
}
- qDebug() << "Done";
}
QtSwift::QtSwift(const po::variables_map& options) : networkFactories_(&clientMainThreadCaller_), autoUpdater_(NULL), idleDetector_(&idleQuerier_, networkFactories_.getTimerFactory(), 1000) {