Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 5915 → Rev 5880

/branches/Version13x/Scribus/scribus/cmykfw.cpp
21,11 → 21,10
#include "scribusdoc.h"
#include "util.h"
 
CMYKChoose::CMYKChoose( QWidget* parent, ScribusDoc* doc, ScColor orig, QString name, ColorList *Colors, QStringList Cust, bool newCol )
CMYKChoose::CMYKChoose( QWidget* parent, ScribusDoc* doc, ScColor orig, QString name, ColorList *Colors, QStringList Cust )
: QDialog( parent, "fw", true, 0 ), CurrSwatch(doc)
{
m_doc = doc;
isNew = newCol;
orig.setDocument(m_doc);
if (orig.getColorModel () == colorModelCMYK)
CMYKmode = true;
995,11 → 994,11
Farbname->selectAll();
return;
}
if ((Fnam != Farbname->text()) || (isNew))
if (Fnam != Farbname->text())
{
if (EColors->contains(Farbname->text()))
{
QMessageBox::information(this, CommonStrings::trWarning, tr("The name of the color already exists,\nplease choose another one."), CommonStrings::tr_OK, 0, 0, 0, QMessageBox::Ok);
QMessageBox::information(this, CommonStrings::trWarning, tr("Name of the color is not unique"), CommonStrings::tr_OK, 0, 0, 0, QMessageBox::Ok);
Farbname->selectAll();
Farbname->setFocus();
return;