Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24794 → Rev 24795

/trunk/Scribus/scribus/scribus.cpp
7095,11 → 7095,11
if (doc->pdfOptions().EmbedList.count() != 0)
{
QList<QString> tmpEm;
QList<QString>::Iterator itef;
for (itef = doc->pdfOptions().EmbedList.begin(); itef != doc->pdfOptions().EmbedList.end(); ++itef)
const auto& fontsToEmbed = doc->pdfOptions().EmbedList;
for (const auto& fontName : fontsToEmbed)
{
if (ReallyUsed.contains((*itef)))
tmpEm.append((*itef));
if (ReallyUsed.contains(fontName))
tmpEm.append(fontName);
}
doc->pdfOptions().EmbedList = tmpEm;
}
7106,11 → 7106,11
if (doc->pdfOptions().SubsetList.count() != 0)
{
QList<QString> tmpEm;
QList<QString>::Iterator itef;
for (itef = doc->pdfOptions().SubsetList.begin(); itef != doc->pdfOptions().SubsetList.end(); ++itef)
const auto& fontsToSubset = doc->pdfOptions().SubsetList;
for (const auto& fontName : fontsToSubset)
{
if (ReallyUsed.contains((*itef)))
tmpEm.append((*itef));
if (ReallyUsed.contains(fontName))
tmpEm.append(fontName);
}
doc->pdfOptions().SubsetList = tmpEm;
}
/trunk/Scribus/scribus/ui/colorsandfills.cpp
149,6 → 149,7
dataTree->setSelectionMode(QAbstractItemView::ExtendedSelection);
dataTree->setCurrentItem(dataTree->topLevelItem(0));
itemSelected(dataTree->currentItem());
 
connect(dataTree, SIGNAL(itemClicked(QTreeWidgetItem*, int)), this, SLOT(itemSelected(QTreeWidgetItem*)));
connect(dataTree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(selEditColor(QTreeWidgetItem*)));
connect(dataTree, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged()));