[TASK] Remove tabs.

This commit is contained in:
Jan Philipp Timme 2015-11-10 13:06:51 +01:00
parent 2f426d4310
commit 5c1e651179
1 changed files with 7 additions and 7 deletions

View File

@ -212,11 +212,11 @@ void ImageViewer::analyzeImage() {
renewLogging();
for(int x=0; x<image->width(); x++) {
for(int y=0; y<image->height(); y++) {
int r,g,b;
QColor color = QColor::fromRgb(image->pixel(x, y));
color.getRgb(&r,&g,&b);
int intensity = calcIntensity(r, g, b);
grayscale_absolute_histogramm[intensity] += 1;
int r,g,b;
QColor color = QColor::fromRgb(image->pixel(x, y));
color.getRgb(&r,&g,&b);
int intensity = calcIntensity(r, g, b);
grayscale_absolute_histogramm[intensity] += 1;
}
}
@ -553,8 +553,8 @@ void ImageViewer::open() {
return;
} else {
if(original_image!=NULL) {
delete original_image;
original_image = NULL;
delete original_image;
original_image = NULL;
}
original_image = new QImage(fileName);
}