Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 730c2748 authored by Scott Petrovic's avatar Scott Petrovic

Remove a bunch of duplicate semi-colons including mine

parent 00619382
......@@ -175,5 +175,5 @@ bool KisPipeBrushParasite::saveToDevice(QIODevice* dev) const
bool loadFromDevice(QIODevice */*dev*/)
{
// XXX: implement...
return true;;
return true;
}
......@@ -178,7 +178,7 @@ bool KoSvgSymbolCollectionResource::loadFromDevice(QIODevice *dev)
setValid(false);
return false;
}
setValid(true);;
setValid(true);
setImage(d->symbols[0]->icon());
return true;
}
......
......@@ -906,7 +906,7 @@ KUndo2Command* KisPaintDevice::Private::convertColorSpace(const KoColorSpace * d
KUndo2Command *parentCommand = new DeviceChangeColorSpaceCommand(q);
QList<Data*> dataObjects = allDataObjects();;
QList<Data*> dataObjects = allDataObjects();
Q_FOREACH (Data *data, dataObjects) {
if (!data) continue;
......@@ -933,7 +933,7 @@ bool KisPaintDevice::Private::assignProfile(const KoColorProfile * profile)
KoColorSpaceRegistry::instance()->colorSpace(colorSpace()->colorModelId().id(), colorSpace()->colorDepthId().id(), profile);
if (!dstColorSpace) return false;
QList<Data*> dataObjects = allDataObjects();;
QList<Data*> dataObjects = allDataObjects();
Q_FOREACH (Data *data, dataObjects) {
if (!data) continue;
data->assignColorSpace(dstColorSpace);
......@@ -946,7 +946,7 @@ bool KisPaintDevice::Private::assignProfile(const KoColorProfile * profile)
void KisPaintDevice::Private::init(const KoColorSpace *cs, const quint8 *defaultPixel)
{
QList<Data*> dataObjects = allDataObjects();;
QList<Data*> dataObjects = allDataObjects();
Q_FOREACH (Data *data, dataObjects) {
if (!data) continue;
......
......@@ -864,7 +864,7 @@ void KisLazyBrushTest::testCutOnGraph()
qDebug() << ppVar(aLabelImage.offset());
}
QImage bLabelImage(bLabelRect.size(), QImage::Format_ARGB32);;
QImage bLabelImage(bLabelRect.size(), QImage::Format_ARGB32);
{
QPainter gc(&bLabelImage);
gc.fillRect(QRect(QPoint(), bLabelRect.size()), Qt::red);
......
......@@ -179,7 +179,7 @@ QStringList Krita::colorModels() const
Q_FOREACH(KoID id, ids) {
colorModelsIds << id.id();
}
return colorModelsIds.toList();;
return colorModelsIds.toList();
}
QStringList Krita::colorDepths(const QString &colorModel) const
......@@ -189,7 +189,7 @@ QStringList Krita::colorDepths(const QString &colorModel) const
Q_FOREACH(KoID id, ids) {
colorDepthsIds << id.id();
}
return colorDepthsIds.toList();;
return colorDepthsIds.toList();
}
QStringList Krita::filterStrategies() const
......
......@@ -400,7 +400,7 @@ QIcon Node::icon() const
bool Node::visible() const
{
if (!d->node) return false;
return d->node->visible();;
return d->node->visible();
}
void Node::setVisible(bool visible)
......
......@@ -347,7 +347,7 @@ quint32 KoColorSet::insertBefore(const KoColorSetEntry &c, qint32 index, const Q
if (d->groups.contains(groupName)) {
d->groups[groupName].insert(index, c);
} else if (groupName.isEmpty()){
d->colors.insert(index, c);;
d->colors.insert(index, c);
} else {
warnPigment << "Couldn't find group to insert to";
}
......
......@@ -630,7 +630,7 @@ BevelAndEmboss::BevelAndEmboss(Contour *contour, Texture *texture, QWidget *pare
connect(ui.intOpacity, SIGNAL(valueChanged(int)), SIGNAL(configChanged()));
connect(ui.cmbShadowMode, SIGNAL(currentIndexChanged(int)), SIGNAL(configChanged()));
connect(ui.bnShadowColor, SIGNAL(changed(KoColor)), SIGNAL(configChanged()));
connect(ui.intOpacity2, SIGNAL(valueChanged(int)), SIGNAL(configChanged()));;
connect(ui.intOpacity2, SIGNAL(valueChanged(int)), SIGNAL(configChanged()));
// Contour
m_contour->ui.intRange->setRange(1, 100);
......
......@@ -38,7 +38,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(KisInputActionGroupsMask)
*/
struct KisInputActionGroupsMaskInterface
{
virtual ~KisInputActionGroupsMaskInterface();;
virtual ~KisInputActionGroupsMaskInterface();
/**
* Return the mask of currently available input action groups
......
......@@ -692,7 +692,7 @@ Qt::MouseButtons QXcbConnection::xiToQtMouseButtons(xXIDeviceEvent *xiDeviceEven
int len = xiDeviceEvent->buttons_len;
const uint32_t *buttons = reinterpret_cast<const quint32*>(&xiDeviceEvent[1]);;
const uint32_t *buttons = reinterpret_cast<const quint32*>(&xiDeviceEvent[1]);
Qt::MouseButtons qtbuttons = Qt::NoButton;
......
......@@ -104,7 +104,7 @@ KisActionManager::~KisActionManager()
addElement("toolTip" , action->toolTip());
addElement("iconText" , action->iconText());
addElement("shortcut" , action->shortcut().toString());
addElement("activationFlags" , QString::number(action->activationFlags(),2));;
addElement("activationFlags" , QString::number(action->activationFlags(),2));
addElement("activationConditions" , QString::number(action->activationConditions(),2));
addElement("defaultShortcut" , action->defaultShortcut().toString());
addElement("isCheckable" , QString((action->isChecked() ? "true" : "false")));
......
......@@ -154,7 +154,7 @@ QString KisFileLayer::path() const
return m_filename;
}
else {
return QDir(m_basePath).filePath(QDir::cleanPath(m_filename));;
return QDir(m_basePath).filePath(QDir::cleanPath(m_filename));
}
}
......
......@@ -252,7 +252,7 @@ struct ChannelFlagAdapter : public BaseAdapter {
}
QString name() const {
return m_prop.name;;
return m_prop.name;
}
static PropertyList adaptersList(KisNodeList nodes) {
......
......@@ -270,7 +270,7 @@ QPointF KisVisualRectangleSelectorShape::convertWidgetCoordinateToShapeCoordinat
}
else {
x = qMax(((qreal)coordinate.x()-offset)/((qreal)width()-offset*2), 0.0);
y = qMax(((qreal)coordinate.y()-offset)/((qreal)height()-offset*2), 0.0);;
y = qMax(((qreal)coordinate.y()-offset)/((qreal)height()-offset*2), 0.0);
}
}
return QPointF(x, y);
......
......@@ -98,7 +98,7 @@ void KoGlobal::createListOfLanguages()
QStringList translationList = KoResourcePaths::findAllResources("locale",
QString::fromLatin1("*/entry.desktop"))
+ KoResourcePaths::findAllResources("locale",
QString::fromLatin1("*/kf5_entry.desktop"));;
QString::fromLatin1("*/kf5_entry.desktop"));
translationList.removeDuplicates();
for (QStringList::Iterator it = translationList.begin();
it != translationList.end(); ++it) {
......
......@@ -605,7 +605,7 @@ void KisAssistantTool::mouseMoveEvent(KoPointerEvent *event)
*m_newAssistant->handles().back() = event->point;
} else if (m_newAssistant && m_internalMode == MODE_DRAGGING_TRANSLATING_TWONODES) {
QPointF translate = event->point - m_dragEnd;;
QPointF translate = event->point - m_dragEnd;
m_dragEnd = event->point;
m_selectedNode1.data()->operator = (QPointF(m_selectedNode1.data()->x(),m_selectedNode1.data()->y()) + translate);
m_selectedNode2.data()->operator = (QPointF(m_selectedNode2.data()->x(),m_selectedNode2.data()->y()) + translate);
......
......@@ -148,7 +148,7 @@ bool KoTextLayoutNoteArea::layout(FrameIterator *cursor)
QTextLayout::FormatRange contTextRange;
contTextRange.start = 0;
contTextRange.length = contNote.length();
contTextRange.format = block.charFormat();;
contTextRange.format = block.charFormat();
contTextLayouts.append(contTextRange);
d->postLayout->setAdditionalFormats(contTextLayouts);
......
......@@ -179,7 +179,7 @@ void readGrayPixel(const QMap<quint16, QByteArray> &channelBytes,
const channels_type unitValue = KoColorSpaceMathsTraits<channels_type>::unitValue;
Pixel *pixelPtr = reinterpret_cast<Pixel*>(dstPtr);
pixelPtr->gray = readChannelValue<Traits>(channelBytes, 0, col, unitValue);;
pixelPtr->gray = readChannelValue<Traits>(channelBytes, 0, col, unitValue);
pixelPtr->alpha = readChannelValue<Traits>(channelBytes, -1, col, unitValue);
}
......
......@@ -70,7 +70,7 @@ struct Bone {
~Bone() {
qDeleteAll(bones);
bones.clear();;
bones.clear();
}
};
......
......@@ -73,7 +73,7 @@ void KisCompositeOpOption::readOptionSetting(const KisPropertiesConfigurationSP
KoID compositeOp = KoCompositeOpRegistry::instance().getKoID(ompositeOpID);
changeCompositeOp(compositeOp);
const bool eraserMode = setting->getBool("EraserMode", false);;
const bool eraserMode = setting->getBool("EraserMode", false);
slotEraserToggled(eraserMode);
}
......
......@@ -122,9 +122,9 @@ KisToolTransform::KisToolTransform(KoCanvasBase * canvas)
m_optionsWidget = 0;
warpAction = new KisAction(i18n("Warp"));
liquifyAction = new KisAction(i18n("Liquify"));;
cageAction = new KisAction(i18n("Cage"));;
freeTransformAction = new KisAction(i18n("Free"));;
liquifyAction = new KisAction(i18n("Liquify"));
cageAction = new KisAction(i18n("Cage"));
freeTransformAction = new KisAction(i18n("Free"));
perspectiveAction = new KisAction(i18n("Perspective"));
// extra actions for free transform that are in the tool options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment