Commit 975fe7ab authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Fixed wrong image on toolbar button in GE.

parent f0d7fadd
...@@ -1774,10 +1774,9 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close, ...@@ -1774,10 +1774,9 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close,
// Brightness // Brightness
addToolItem(toplevel, tools2, "Decrease brightness", addToolItem(toplevel, tools2, "Decrease brightness",
SLOT(activate_decr_lightness()), "$pwr_exe/ge_arrowleft.png"); SLOT(activate_decr_lightness()), "$pwr_exe/ge_arrowleft.png");
addToolItem(toplevel, tools2, "Increase brightness",
SLOT(activate_incr_lightness()), "$pwr_exe/ge_brightness.png");
tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_brightness.png")); tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_brightness.png"));
addToolItem(toplevel, tools2, "Increase brightness",
SLOT(activate_incr_lightness()), "$pwr_exe/ge_arrowright.png");
// Separator // Separator
tools2->addSeparator(); tools2->addSeparator();
...@@ -1785,22 +1784,20 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close, ...@@ -1785,22 +1784,20 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close,
// Intensity // Intensity
addToolItem(toplevel, tools2, "Decrease color intensity", addToolItem(toplevel, tools2, "Decrease color intensity",
SLOT(activate_decr_intensity()), "$pwr_exe/ge_arrowleft.png"); SLOT(activate_decr_intensity()), "$pwr_exe/ge_arrowleft.png");
tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_color.png"));
addToolItem(toplevel, tools2, "Increase color intensity", addToolItem(toplevel, tools2, "Increase color intensity",
SLOT(activate_incr_intensity()), "$pwr_exe/ge_arrowright.png"); SLOT(activate_incr_intensity()), "$pwr_exe/ge_arrowright.png");
tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_color.png"));
// Separator // Separator
tools2->addSeparator(); tools2->addSeparator();
// Shift // Shift
addToolItem(toplevel, tools2, "Shift color", SLOT(activate_decr_shift()), addToolItem(toplevel, tools2, "Shift color", SLOT(activate_decr_shift()),
"$pwr_exe/ge_arrowleft.png"); "$pwr_exe/ge_arrowleft.png");
tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_colorshift.png"));
addToolItem(toplevel, tools2, "Shift color", SLOT(activate_incr_shift()), addToolItem(toplevel, tools2, "Shift color", SLOT(activate_incr_shift()),
"$pwr_exe/ge_arrowright.png"); "$pwr_exe/ge_arrowright.png");
tools2->addWidget(new_image_label(tools2, "$pwr_exe/ge_colorshift.png"));
// Gradient option menu // Gradient option menu
tools_gradient = addToolMenu(toplevel, tools2, SLOT(activate_gradient(int))); tools_gradient = addToolMenu(toplevel, tools2, SLOT(activate_gradient(int)));
tools_gradient->addItem(get_icon("$pwr_exe/ge_gradient_no.png"), tools_gradient->addItem(get_icon("$pwr_exe/ge_gradient_no.png"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment