[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/plugins/filters/colorsfilters
From: Laurent Montel <montel () kde ! org>
Date: 2006-01-04 8:55:36
Message-ID: 1136364936.093367.23334.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 494186 by mlaurent:
Warning--
M +3 -3 kis_perchannel_filter.cc
--- trunk/koffice/krita/plugins/filters/colorsfilters/kis_perchannel_filter.cc #494185:494186
@@ -184,7 +184,7 @@
m_dev = dev;
m_curves = new QSortedList<QPair<double,double> >[m_dev->colorSpace()->nColorChannels()];
m_activeCh = 0;
- for(int ch=0; ch <m_dev->colorSpace()->nColorChannels(); ch++)
+ for(unsigned int ch=0; ch <m_dev->colorSpace()->nColorChannels(); ch++)
{
m_curves[ch].append(new QPair<double,double>(0, 0));
m_curves[ch].append(new QPair<double,double>(1, 1));
@@ -196,8 +196,8 @@
// Fill in the channel chooser
QValueVector<KisChannelInfo *> channels = dev->colorSpace()->channels();
- for(i=0; i < dev->colorSpace()->nColorChannels(); i++)
- m_page->cmbChannel -> insertItem(channels.at(i)->name());
+ for(unsigned int val=0; val < dev->colorSpace()->nColorChannels(); val++)
+ m_page->cmbChannel -> insertItem(channels.at(val)->name());
connect( m_page->cmbChannel, SIGNAL(activated(int)), this, SLOT(setActiveChannel(int)));
// Create the horizontal gradient label
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic