From 5c1e65117930cfea863c4254dec5b1fd4e8b19b6 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 10 Nov 2015 13:06:51 +0100 Subject: [PATCH] [TASK] Remove tabs. --- imageviewer-qt4.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/imageviewer-qt4.cpp b/imageviewer-qt4.cpp index be1cd0e..7ea2c01 100644 --- a/imageviewer-qt4.cpp +++ b/imageviewer-qt4.cpp @@ -212,11 +212,11 @@ void ImageViewer::analyzeImage() { renewLogging(); for(int x=0; xwidth(); x++) { for(int y=0; yheight(); 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); }