Changeset cf385cd for src/gui/mainwindow.cpp
- Timestamp:
- 06/28/11 23:31:33 (12 years ago)
- Branches:
- master, qt5
- Children:
- bdeb1ff
- Parents:
- 0145b04
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r0145b04 rcf385cd 70 70 AppSettings::setDirectConnection(true); 71 71 72 /* 72 73 if(AppSettings::isDirectConnection()) 73 74 { 74 75 qDebug() << "Setting-up proxy: " << AppSettings::proxyAddress() << ":" << AppSettings::proxyPort(); 75 76 } 77 */ 76 78 QNetworkProxy proxy( 77 79 AppSettings::isDirectConnection() ? QNetworkProxy::NoProxy : QNetworkProxy::HttpProxy, … … 222 224 dialog.exec(); 223 225 224 qDebug() << "Setting-up proxy: " << AppSettings::proxyAddress() << ":" << AppSettings::proxyPort();225 226 QNetworkProxy proxy( 226 227 AppSettings::isDirectConnection() ? QNetworkProxy::NoProxy : QNetworkProxy::HttpProxy, … … 279 280 else 280 281 { 281 qDebug() << __PRETTY_FUNCTION__ << ": have data";282 282 importData(aReply->readAll(), aReply->url().toEncoded()); 283 283 } … … 291 291 void MainWindow::importFromNetwork(const QString& url) 292 292 { 293 qDebug() << __PRETTY_FUNCTION__;294 293 QNetworkRequest request; 295 294 request.setUrl(QUrl(url)); … … 301 300 void MainWindow::importFromFile(const QString& filename) 302 301 { 303 qDebug() << __PRETTY_FUNCTION__;304 302 QFile file(filename); 305 303 if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
Note: See TracChangeset
for help on using the changeset viewer.