Re: [Interest] Can't download file with QNetworkAccessManager: "connection closed"

2014-06-07 Thread Thiago Macieira
Em dom 08 jun 2014, às 06:05:20, Nikos Chantziaras escreveu: > It fails even without the redirection. I only used "sf.net" instead of > "sourceforge.net" in order to make the code smaller for posting here. So > this will also fail: > >QNetworkRequest request(QUrl("http://qtads.sourceforge.net/

Re: [Interest] Can't download file with QNetworkAccessManager: "connection closed"

2014-06-07 Thread Nikos Chantziaras
On 08/06/14 02:57, Thiago Macieira wrote: > Em dom 08 jun 2014, às 02:49:53, Nikos Chantziaras escreveu: >> I have a weird problem. I am unable to download a file from a specific >> server (ran by sourceforge) using QNetworkAccessManager and >> QNetworkRequest. Example: >> >> >> this->fNetManag

Re: [Interest] Can't download file with QNetworkAccessManager: "connection closed"

2014-06-07 Thread Thiago Macieira
Em dom 08 jun 2014, às 02:49:53, Nikos Chantziaras escreveu: > I have a weird problem. I am unable to download a file from a specific > server (ran by sourceforge) using QNetworkAccessManager and > QNetworkRequest. Example: > > >this->fNetManager = new QNetworkAccessManager(this); >conn

Re: [Interest] QAbstractTableModel: ItemDelegate for both display and edit role

2014-06-07 Thread Ch'Gans
Hi Adam, Thank you for your code snip, I used the persistent editor approach, as my table will never contains more than a dozen rows, I think this is OK. Another thing I have been fighting with, was to have my editor centered in the table cells, I found 2 interesting results [1], [2] But I didn

[Interest] Can't download file with QNetworkAccessManager: "connection closed"

2014-06-07 Thread Nikos Chantziaras
I have a weird problem. I am unable to download a file from a specific server (ran by sourceforge) using QNetworkAccessManager and QNetworkRequest. Example: this->fNetManager = new QNetworkAccessManager(this); connect(this->fNetManager, SIGNAL(finished(QNetworkReply*)), SLOT(fR