aboutsummaryrefslogtreecommitdiff
path: root/lumina-config
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-20 12:14:47 -0400
committerKen Moore <moorekou@gmail.com>2015-08-20 12:14:47 -0400
commitbe35b498b8fcb785dd39c32b4292553f7d16a49b (patch)
tree6099dec50dd223db14e2be2eb4dafe02a13c06c5 /lumina-config
parentCommit some more work-in-progress on the new lumina-fm backend. (diff)
downloadlumina-be35b498b8fcb785dd39c32b4292553f7d16a49b.tar.gz
lumina-be35b498b8fcb785dd39c32b4292553f7d16a49b.tar.bz2
lumina-be35b498b8fcb785dd39c32b4292553f7d16a49b.zip
Fix a bug in the color dialog title, it can be used for more than just panels now.
Diffstat (limited to 'lumina-config')
-rw-r--r--lumina-config/mainUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-config/mainUI.cpp b/lumina-config/mainUI.cpp
index 33b17105..741e7fba 100644
--- a/lumina-config/mainUI.cpp
+++ b/lumina-config/mainUI.cpp
@@ -302,8 +302,8 @@ QString MainUI::getColorStyle(QString current, bool allowTransparency){
if(col.length()!=4){ col.clear(); col << "255" << "255" << "255" << "255"; }
QColor ccol = QColor(col[0].toInt(), col[1].toInt(), col[2].toInt(), col[3].toInt()); //RGBA
QColor ncol;
- if(allowTransparency){ ncol= QColorDialog::getColor(ccol, this, tr("Select Panel Color"), QColorDialog::ShowAlphaChannel); }
- else{ ncol= QColorDialog::getColor(ccol, this, tr("Select Panel Color")); }
+ if(allowTransparency){ ncol= QColorDialog::getColor(ccol, this, tr("Select Color"), QColorDialog::ShowAlphaChannel); }
+ else{ ncol= QColorDialog::getColor(ccol, this, tr("Select Color")); }
//Now convert the new color into a usable string and return
if(ncol.isValid()){ //if the dialog was not cancelled
if(allowTransparency){
bgstack15