Skip to content

Commit a8fd60a

Browse files
committed
Another Unicode bugfix
1 parent b33a56c commit a8fd60a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 1.1.1 - 2013-12-10
22
* Also add child files in batch mode
3+
* Fixed another possible crash caused by Unicode filenames
34
* Tweak logging in the torrent creation window
45

56
# 1.1.0 - 2013-12-09

Diff for: createtorrent.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ void CreateTorrent::run() {
8282

8383
QStringList inputList;
8484
if(!this->isBatch)
85-
inputList.append(this->source.toUtf8().constData());
85+
inputList.append(this->source);
8686
else {
8787
QDirIterator iit(this->source);
8888
while(iit.hasNext()) {
8989
QString fn = iit.next();
9090
if(file_filter(fn.toUtf8().constData()))
91-
inputList.append(fn.toUtf8().constData());
91+
inputList.append(fn);
9292
}
9393
}
9494

0 commit comments

Comments
 (0)