Changeset ad5c62f for src/gui/mainwindow.cpp
- Timestamp:
- 04/13/10 16:20:00 (13 years ago)
- Branches:
- master, qt5
- Children:
- 47d0a31
- Parents:
- 22232d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r22232d9 rad5c62f 38 38 #include "importschedulewidget.h" 39 39 #include "mapwindow.h" 40 #include "settingsdialog.h" 40 41 41 42 #include <tabcontainer.h> … … 86 87 connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked())); 87 88 88 connect(tabWidget, SIGNAL(infoIconClicked()), SLOT(aboutApp())); 89 connect(aboutAction, SIGNAL(triggered()), SLOT(aboutApp())); 90 connect(settingsAction, SIGNAL(triggered()), SLOT(setup())); 89 91 90 92 selectConference->setDuplicatesEnabled(false); … … 232 234 } 233 235 236 void MainWindow::setup() 237 { 238 SettingsDialog dialog; 239 dialog.exec(); 240 241 qDebug() << "Setting-up proxy: " << AppSettings::proxyAddress() << ":" << AppSettings::proxyPort(); 242 QNetworkProxy proxy( 243 AppSettings::isDirectConnection() ? QNetworkProxy::NoProxy : QNetworkProxy::HttpProxy, 244 AppSettings::proxyAddress(), 245 AppSettings::proxyPort(), 246 PROXY_USERNAME, 247 PROXY_PASSWD); 248 QNetworkProxy::setApplicationProxy(proxy); 249 }
Note: See TracChangeset
for help on using the changeset viewer.