mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
DropBox - Report message on connection error
This commit is contained in:
@@ -159,6 +159,12 @@ Dropbox::readdir(QString path, QStringList &errors)
|
||||
connect(reply, SIGNAL(finished()), &loop, SLOT(quit()));
|
||||
loop.exec();
|
||||
|
||||
// oops, no dice
|
||||
if (reply->error() != 0) {
|
||||
errors << reply->errorString();
|
||||
return returning;
|
||||
}
|
||||
|
||||
// did we get a good response ?
|
||||
QByteArray r = reply->readAll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user