Proper detection whether SCTP is available. Do not update player names on configuration change if network client is running.

This commit is contained in:
lotodore
2007-06-04 16:19:11 +00:00
parent ffbe8ac924
commit b9ccba6ed4
8 changed files with 37 additions and 15 deletions
@@ -21,6 +21,7 @@
#include "myavatarlistitem.h"
#include "configfile.h"
#include <net/socket_startup.h>
#include <iostream>
@@ -135,7 +136,8 @@ void settingsDialogImpl::exec() {
lineEdit_logDir->setText(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str()));
spinBox_logStoreDuration->setValue(myConfig->readConfigInt("LogStoreDuration"));
comboBox_logInterval->setCurrentIndex(myConfig->readConfigInt("LogInterval"));
checkBox_useSctp->setEnabled(socket_has_sctp());
QDialog::exec();