mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Merge branch 'dev' into dev_PolygonTool
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "Tool/IntelliToolPlain.h"
|
||||
#include "Tool/IntelliToolLine.h"
|
||||
#include "Tool/IntelliToolCircle.h"
|
||||
#include "Tool/IntelliToolRechteck.h"
|
||||
#include "Tool/IntelliToolRectangle.h"
|
||||
#include "Tool/IntelliToolPolygon.h"
|
||||
|
||||
PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
|
||||
@@ -165,12 +165,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