mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 20:00:32 +02:00
Merge branch 'hotfix' into 'dev'
Fixed the Linux color picker and system dialog bugs See merge request creyd/intelliphoto!20
This commit is contained in:
@@ -164,12 +164,12 @@ void PaintingArea::slotActivateLayer(int a){
|
||||
}
|
||||
|
||||
void PaintingArea::colorPickerSetFirstColor(){
|
||||
QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color");
|
||||
QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
|
||||
this->colorPicker.setFirstColor(clr);
|
||||
}
|
||||
|
||||
void PaintingArea::colorPickerSetSecondColor(){
|
||||
QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color");
|
||||
QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
|
||||
this->colorPicker.setSecondColor(clr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user