Commit b8b330dd authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent 391278de
......@@ -119,4 +119,4 @@ KUndo2Command *KoShapeRubberSelectStrategy::createCommand()
QRectF KoShapeRubberSelectStrategy::selectedRectangle() const {
Q_D(const KoShapeRubberSelectStrategy);
return d->selectedRect();
}
\ No newline at end of file
}
......@@ -98,4 +98,4 @@ void KoColorProfile::setManufacturer(const QString &manufacturer)
void KoColorProfile::setCopyright(const QString &copyright)
{
d->copyright = copyright;
}
\ No newline at end of file
}
......@@ -43,4 +43,4 @@ private:
};
#endif
\ No newline at end of file
#endif
......@@ -58,4 +58,4 @@ private:
QScopedPointer<Private> d;
};
#endif
\ No newline at end of file
#endif
......@@ -33,4 +33,4 @@ public:
bool primaryWorkspaceFollowsFocus() const;
};
#endif
\ No newline at end of file
#endif
......@@ -47,4 +47,4 @@ private:
KisSessionResource *getSelectedSession() const;
};
#endif
\ No newline at end of file
#endif
......@@ -91,4 +91,4 @@ void KisMultipliersDoubleSliderSpinBox::setExponentRatio(qreal dbl)
d->form.sliderSpinBox->setExponentRatio(dbl);
}
#include "moc_kis_multipliers_double_slider_spinbox.cpp"
\ No newline at end of file
#include "moc_kis_multipliers_double_slider_spinbox.cpp"
......@@ -359,4 +359,4 @@ void KisToneCurveWidget::resizeEvent(QResizeEvent* event)
setMinimumWidth(height());
setMaximumWidth(height());
d->needUpdatePixmap = true;
}
\ No newline at end of file
}
......@@ -64,4 +64,4 @@ private :
Private* const d;
};
#endif /* KISTONECURVEWIDGET_H */
\ No newline at end of file
#endif /* KISTONECURVEWIDGET_H */
......@@ -54,4 +54,4 @@ ArtisticColorSelectorPlugin::ArtisticColorSelectorPlugin(QObject* parent, const
KoDockRegistry::instance()->add(new ArtisticColorSelectorDockFactory());
}
#include "artisticcolorselector_plugin.moc"
\ No newline at end of file
#include "artisticcolorselector_plugin.moc"
......@@ -223,14 +223,14 @@ void DlgClonesArray::reapplyClones()
int endColumn = m_page->numPositiveColumns->value() - 1;
int endRow = m_page->numPositiveRows->value() - 1;
QString positiveGroupName = QString(i18n("+ Array of %1")).arg(m_baseLayer->name());
QString positiveGroupName = i18n("+ Array of %1", m_baseLayer->name());
KisGroupLayerSP positiveGroupLayer = new KisGroupLayer(image, positiveGroupName, OPACITY_OPAQUE_U8);
m_applicator->applyCommand(new KisImageLayerAddCommand(image, positiveGroupLayer, m_baseLayer->parent(), m_baseLayer, false, true), KisStrokeJobData::SEQUENTIAL, KisStrokeJobData::EXCLUSIVE);
KisGroupLayerSP negativeGroupLayer;
if (startRow < 0 || startColumn < 0) {
QString negativeGroupName = QString(i18n("- Array of %1")).arg(m_baseLayer->name());
QString negativeGroupName = i18n("- Array of %1", m_baseLayer->name());
negativeGroupLayer = new KisGroupLayer(image, negativeGroupName, OPACITY_OPAQUE_U8);
m_applicator->applyCommand(new KisImageLayerAddCommand(image, negativeGroupLayer, m_baseLayer->parent(), m_baseLayer->prevSibling(), false, true), KisStrokeJobData::SEQUENTIAL, KisStrokeJobData::EXCLUSIVE);
}
......@@ -243,7 +243,7 @@ void DlgClonesArray::reapplyClones()
KisNodeSP parent = choosePositiveGroup ? positiveGroupLayer : negativeGroupLayer;
QString cloneName = QString("Clone %1, %2").arg(col).arg(row);
QString cloneName = i18n("Clone %1, %2", col, row);
KisCloneLayerSP clone = new KisCloneLayer(m_baseLayer, image, cloneName, OPACITY_OPAQUE_U8);
clone->setX(-row * rowXOffset + col * columnXOffset);
clone->setY(-row * rowYOffset + col * columnYOffset);
......
......@@ -63,4 +63,4 @@ struct IndexColorPalette
QPair< int, int > getNeighbours(int mainClr) const;
};
#endif // INDEXCOLORPALETTE_H
\ No newline at end of file
#endif // INDEXCOLORPALETTE_H
......@@ -38,4 +38,4 @@ LevelFilter::~LevelFilter()
{
}
#include "levelfilter.moc"
\ No newline at end of file
#include "levelfilter.moc"
......@@ -38,4 +38,4 @@ KisSmallTilesFilterPlugin::~KisSmallTilesFilterPlugin()
{
}
#include "kis_small_tiles_filter_plugin.moc"
\ No newline at end of file
#include "kis_small_tiles_filter_plugin.moc"
......@@ -38,4 +38,4 @@ UnsharpPlugin::~UnsharpPlugin()
{
}
#include "unsharp.moc"
\ No newline at end of file
#include "unsharp.moc"
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