master
Marc Wäckerlin 16 years ago
parent 56c94548c0
commit 45f5a6f2d4
  1. 2
      proxyface/gui/proxy.hxx
  2. 6
      qmake.pro

@ -65,6 +65,7 @@ class Proxy: public QDialog, private Ui::Proxy {
public Q_SLOTS:
void on__save_clicked(bool=false) {
QSettings s("SwissSign", "ProxySettings");
s.setValue("default-type", _type->currentIndex());
s.setValue("default-server", _url->text());
s.setValue("default-port", _port->value());
@ -72,6 +73,7 @@ class Proxy: public QDialog, private Ui::Proxy {
}
void on__clear_clicked(bool=false) {
QSettings s("SwissSign", "ProxySettings");
s.clear();
_type->setCurrentIndex(0);
_url->setText("");

@ -3,10 +3,11 @@ win32 {
QMAKE_LIBS += winhttp.a
}
unix {
QMAKE_LIBS += proxy dl
QMAKE_LIBS += -lproxy -ldl
QMAKE_LIBDIR += /usr/lib32
}
macx {
QMAKE_LIBS += proxy dl
QMAKE_LIBS += -lproxy -ldl
QMAKE_INCDIR += /opt/local/include
QMAKE_LIBDIR += /opt/local/lib
CONFIG += x86
@ -18,4 +19,3 @@ HEADERS = proxyface/unix.hxx proxyface/windoze.hxx \
CONFIG += release
QT += network
TEMPLATE = lib
TARGET = proxyface
Loading…
Cancel
Save