mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
fixed every known warning from cppcheck
done.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include "IntelliColorPicker.h"
|
||||
|
||||
IntelliColorPicker::IntelliColorPicker(){
|
||||
firstColor = QColor(255,0,0,255);
|
||||
secondColor = QColor(0,255,255,255);
|
||||
initializeColors();
|
||||
}
|
||||
|
||||
IntelliColorPicker::~IntelliColorPicker(){
|
||||
@@ -28,3 +27,8 @@ void IntelliColorPicker::setFirstColor(QColor Color){
|
||||
void IntelliColorPicker::setSecondColor(QColor Color){
|
||||
this->secondColor = Color;
|
||||
}
|
||||
|
||||
void IntelliColorPicker::initializeColors(){
|
||||
this->firstColor = QColor(255,0,0,255);
|
||||
this->secondColor = QColor(0,0,0,255);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user