History

Remove BatchLoader::errorLoadingFile and reorder properties

Ryan Huffman committed 11 years ago

Commit 22cdf1c1 parent e27db482 files · +2 −5Browse files

Showing the changes to libraries/script-engine/src/BatchLoader.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/BatchLoader.cpp+1−3
@@ -18,9 +18,9 @@ · 17 unmodified lines
1818
1919 BatchLoader::BatchLoader(const QList<QUrl>& urls)
2020 : QObject(),
21+ _started(false),
2122 _finished(false),
2223 _urls(urls.toSet()),
23− _started(false),
2424 _data() {
2525 }
2626
@@ -39,7 +39,6 @@ void BatchLoader::start() { · 12 unmodified lines
3939
4040 connect(reply, &QNetworkReply::finished, [=]() {
4141 if (reply->error()) {
42− emit errorLoadingFile(url);
4342 _data.insert(url, QString());
4443 } else {
4544 _data.insert(url, reply->readAll());
@@ -65,7 +64,6 @@ void BatchLoader::start() { · 19 unmodified lines
6564 QTextStream in(&scriptFile);
6665 _data.insert(url, in.readAll());
6766 } else {
68− emit errorLoadingFile(url);
6967 _data.insert(url, QString());
7068 }
7169 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t