aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-07-06 11:19:16 -0400
committerKen Moore <moorekou@gmail.com>2016-07-06 11:19:16 -0400
commit054939499dcb4ab5040616201861083d43c4261f (patch)
tree6bd674fffacd82aaa9d667f7fbc96b12cc334655 /src-qt5/core-utils
parentFix a crash within the userbutton plugin which would happen after clearing ou... (diff)
parentMake lumina-config able to handle non-integer values for the panel settings a... (diff)
downloadlumina-054939499dcb4ab5040616201861083d43c4261f.tar.gz
lumina-054939499dcb4ab5040616201861083d43c4261f.tar.bz2
lumina-054939499dcb4ab5040616201861083d43c4261f.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core-utils')
-rw-r--r--src-qt5/core-utils/lumina-config/PanelWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-config/PanelWidget.cpp b/src-qt5/core-utils/lumina-config/PanelWidget.cpp
index 10e12cbb..7132dcf8 100644
--- a/src-qt5/core-utils/lumina-config/PanelWidget.cpp
+++ b/src-qt5/core-utils/lumina-config/PanelWidget.cpp
@@ -49,8 +49,8 @@ void PanelWidget::LoadSettings(QSettings *settings, int Dnum, int Pnum){
if(tmp>=0){ ui->combo_align->setCurrentIndex( tmp ); }
tmp = ui->combo_edge->findData( settings->value(prefix+"location","top").toString().toLower() );
if(tmp>=0){ ui->combo_edge->setCurrentIndex( tmp ); }
- ui->spin_plength->setValue( settings->value( prefix+"lengthPercent",100).toInt() );
- ui->spin_pxthick->setValue( settings->value( prefix+"height",30).toInt() );
+ ui->spin_plength->setValue( qRound(settings->value( prefix+"lengthPercent",100).toDouble()) );
+ ui->spin_pxthick->setValue( qRound(settings->value( prefix+"height",30).toDouble()) );
ui->check_autohide->setChecked( settings->value(prefix+"hidepanel", false).toBool() );
ui->group_customcolor->setChecked( settings->value(prefix+"customColor",false).toBool() );
ui->label_color_sample->setWhatsThis( settings->value(prefix+"color","rgba(255,255,255,160)").toString());
bgstack15