Commit 6cda9786 authored by Joris Guisson's avatar Joris Guisson
Browse files

Merged rev 788746 from trunk


svn path=/branches/ktorrent/3.0/; revision=788747
parent 4e1964a4
......@@ -22,7 +22,7 @@
#include <klocale.h>
#include <time.h>
#include <util/error.h>
#include <ktversion.h>
#include <btversion.h>
#include <bcodec/bencoder.h>
#include <util/file.h>
#include <util/sha1hash.h>
......@@ -147,7 +147,7 @@ namespace bt
enc.write("comments");
enc.write(comments);
}
enc.write("created by");enc.write(QString("KTorrent %1").arg(kt::VERSION_STRING));
enc.write("created by");enc.write(bt::GetVersionString());
enc.write("creation date");enc.write((Uint64)time(0));
enc.write("info");
saveInfo(enc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment