Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 5897 → Rev 5898

/branches/Version13x/Scribus/scribus/prefs.cpp
53,7 → 53,6
extern QPixmap loadIcon(QString nam);
extern ScribusQApp* ScQApp;
 
 
Preferences::Preferences( QWidget* parent) : PrefsDialogBase( parent )
{
prefsManager=PrefsManager::instance();
82,8 → 81,6
tabHyphenator = new HySettings(prefsWidgets, &ap->LangTransl);
addItem( tr("Hyphenator"), loadIcon("hyphenate.png"), tabHyphenator);
 
// ap->PrefsPfad is propably obsolete
//tabFonts = new FontPrefs(prefsWidgets, false, ap->PrefsPfad, 0);
tabFonts = new FontPrefs(prefsWidgets, false, prefsManager->preferencesLocation(), ap->doc);
addItem( tr("Fonts"), loadIcon("font.png"), tabFonts);
 
/branches/Version13x/Scribus/scribus/tabtools.cpp
913,7 → 913,7
if (!fontPreview)
return;
 
SampleItem *si = new SampleItem(0);
SampleItem *si = new SampleItem(docu);
si->setText(tr("Woven silk pyjamas exchanged for blue quartz"));
if (colorComboTextBackground->currentText() != CommonStrings::NoneColor)
{
/branches/Version13x/Scribus/scribus/sampleitem.cpp
17,12 → 17,12
#include <qcursor.h>
#include "text/nlsconfig.h"
 
 
SampleItem::SampleItem(ScribusDoc* doc) :
QObject()
{
used = true;
m_Doc=doc;
 
if (doc==0)
{
qApp->setOverrideCursor(QCursor(Qt::WaitCursor));