diff --git a/mainwindow.ui b/mainwindow.ui index 033241e..5218039 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -343,7 +343,7 @@ 20 - 60 + 20 diff --git a/settingswindow.cpp b/settingswindow.cpp index 1877854..306f593 100644 --- a/settingswindow.cpp +++ b/settingswindow.cpp @@ -7,8 +7,8 @@ SettingsWindow::SettingsWindow(QWidget *parent) : { ui->setupUi(this); - if(settings.value("core/senderinterval").toInt()) ui->senderbox->setValue(settings.value("core/senderinterval").toInt()); - else ui->senderbox->setValue(5); + if(settings.value("core/senderinterval").toFloat()) ui->senderbox->setValue(settings.value("core/senderinterval").toFloat()); + else ui->senderbox->setValue(1); if(settings.value("core/statusinterval").toInt()) ui->statusbox->setValue(settings.value("core/statusinterval").toInt()); else ui->senderbox->setValue(3000); diff --git a/settingswindow.ui b/settingswindow.ui index c46f34f..52ad279 100644 --- a/settingswindow.ui +++ b/settingswindow.ui @@ -49,22 +49,6 @@ - - - - A good default is 5, lower = fater, higher = less CPU load - - - -1 - - - 1 - - - 999 - - - @@ -102,6 +86,28 @@ + + + + A good default is 2, lower = fater, higher = less CPU load + + + -1 + + + + + + 0.100000000000000 + + + 999.990000000000009 + + + 0.100000000000000 + + +