Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5762 → Rev 5763

/branches/Version13x/Scribus/scribus/tabtools.h
37,7 → 37,7
public:
TabTools( QWidget* parent, struct toolPrefs *prefsData, int unitIndex, ScribusDoc* doc);
~TabTools() {};
void restoreDefaults(struct toolPrefs *prefsData, int unitIndex);
void restoreDefaults(struct toolPrefs *prefsData, int unitIndex, bool drawSample=false);
 
QButtonGroup* buttonGroupTools;
QToolButton* toolShape;
179,5 → 179,7
double unitRatio;
QString unit;
int precision;
 
void enableSignals(bool);
};
#endif
/branches/Version13x/Scribus/scribus/tabexternaltoolswidget.cpp
31,7 → 31,8
TabExternalToolsWidget::TabExternalToolsWidget(struct ApplicationPrefs *prefsData, QWidget* parent, const char*name)
: TabExternalToolsWidgetBase(parent, name)
{
restoreDefaults(prefsData);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(prefsData);
connect(psToolChangeButton, SIGNAL(clicked()), this, SLOT(changePostScriptTool()));
connect(imageToolChangeButton, SIGNAL(clicked()), this, SLOT(changeImageTool()));
/branches/Version13x/Scribus/scribus/prefs.cpp
64,8 → 64,17
extern ScribusQApp* ScQApp;
 
 
 
/* performance measurements - PV
void tdebug(QString i)
{
QDateTime debugTime;
qDebug(QString("%1 %2").arg(i).arg(debugTime.currentDateTime().toString("hh:mm:ss:zzz")));
}*/
 
Preferences::Preferences( QWidget* parent) : PrefsDialogBase( parent )
{
//tdebug("start");
prefsManager=PrefsManager::instance();
ApplicationPrefs* prefsData=&(prefsManager->appPrefs);
ap = (ScribusMainWindow*)parent;
343,8 → 352,10
 
tabGuides = new TabGuides(prefsWidgets, &prefsData->guidesSettings, &prefsData->typographicSettings, docUnitIndex);
addItem( tr("Guides"), loadIcon("guides.png"), tabGuides);
 
tabTypo = new TabTypograpy( prefsWidgets, &prefsData->typographicSettings);
addItem( tr("Typography"), loadIcon("typography.png"), tabTypo);
 
tabTools = new TabTools( prefsWidgets, &prefsData->toolSettings, docUnitIndex, 0);
addItem( tr("Tools"), loadIcon("tools.png"), tabTools);
 
367,6 → 378,7
tabColorManagement = new CMSPrefs(prefsWidgets, &prefsData->DCMSset, &ScCore->InputProfiles, &ScCore->InputProfilesCMYK, &ScCore->PrinterProfiles, &ScCore->MonitorProfiles);
addItem( tr("Color Management"), loadIcon("blend.png"), tabColorManagement);
}
 
QMap<QString, int> DocFonts;
DocFonts.clear();
tabPDF = new TabPDFOptions( prefsWidgets,
394,6 → 406,7
 
tabKeyboardShortcuts = new TabKeyboardShortcutsWidget(prefsData->KeyActions, prefsWidgets);
addItem( tr("Keyboard Shortcuts"), loadIcon("key_bindings.png"), tabKeyboardShortcuts);
 
// tabKeys = new KeyManager(prefsWidgets, prefsData->KeyActions);
// addItem( tr("Keyboard Shortcuts"), loadIcon("key_bindings.png"), tabKeys);
/*
590,12 → 603,11
CaliGroupLayout->addLayout( layout15ca );
tabViewLayout->addWidget( CaliGroup );
addItem( tr("Display"), loadIcon("screen.png"), tabView);
 
tabExtTools = new TabExternalToolsWidget( prefsData, prefsWidgets );
addItem( tr("External Tools"), loadIcon("externaltools.png"), tabExtTools);
/*
 
/*
ExtTool = new QWidget( prefsWidgets, "ExtTool" );
ExtToolLayout = new QVBoxLayout( ExtTool, 0, 5, "ExtToolLayout");
ExtToolLayout->setAlignment( Qt::AlignTop );
701,12 → 713,12
QSpacerItem* spacer_3m = new QSpacerItem( 0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding );
MiscLayout->addItem( spacer_3m );
addItem( tr("Miscellaneous"), loadIcon("misc.png"), tabMiscellaneous);
 
// plugin manager. pv.
pluginManagerPrefsGui = new PluginManagerPrefsGui(prefsWidgets);
addItem( tr("Plugins"), loadIcon("plugins.png"), pluginManagerPrefsGui );
connect(this, SIGNAL(accepted()), pluginManagerPrefsGui, SLOT(apply()));
 
setupGui();
addPlugins();
 
780,42 → 792,69
QToolTip::add( topScratch, "<qt>" + tr( "Defines amount of space above the document canvas available as a pasteboard for creating and modifying elements and dragging them onto the active page" ) + "</qt>" );
QToolTip::add( bottomScratch, "<qt>" + tr( "Defines amount of space below the document canvas available as a pasteboard for creating and modifying elements and dragging them onto the active page" ) + "</qt>" );
 
 
// signals and slots connections
connect( guiLangCombo, SIGNAL( activated( const QString & ) ), this, SLOT( setSelectedGUILang( const QString & ) ) );
connect(backColor, SIGNAL(clicked()), this, SLOT(changePaperColor()));
connect(unitCombo, SIGNAL(activated(int)), this, SLOT(unitChange()));
connect(pageWidth, SIGNAL(valueChanged(int)), this, SLOT(setPageWidth(int)));
connect(pageHeight, SIGNAL(valueChanged(int)), this, SLOT(setPageHeight(int)));
connect(docLayout, SIGNAL( selectedLayout(int) ), this, SLOT( setDS(int) ) );
connect(pageOrientationComboBox, SIGNAL(activated(int)), this, SLOT(setOrien(int)));
connect(pageSizeComboBox, SIGNAL(activated(const QString &)), this, SLOT(setPageSize()));
connect(FileC, SIGNAL(clicked()), this, SLOT(changeDocs()));
connect(FileC2, SIGNAL(clicked()), this, SLOT(changeProfs()));
connect(FileC3, SIGNAL(clicked()), this, SLOT(changeScripts()));
connect(FileC4, SIGNAL(clicked()), this, SLOT(changeDocumentTemplates()));
// connect(ghostscriptChangeButton, SIGNAL(clicked()), this, SLOT(changeGhostscript()));
// connect(imageEditorChangeButton, SIGNAL(clicked()), this, SLOT(changeImageEditor()));
connect(CaliSlider, SIGNAL(valueChanged(int)), this, SLOT(setDisScale()));
connect(buttonOk, SIGNAL(clicked()), this, SLOT(setActionHistoryLength()));
if (CMSavail)
connect(tabColorManagement, SIGNAL(cmsOn(bool )), this, SLOT(switchCMS(bool )));
connect(applyChangesButton, SIGNAL(clicked()), this, SLOT(applyChangesButton_clicked()));
connect(backToDefaults, SIGNAL(clicked()), this, SLOT(backToDefaults_clicked()));
 
//pageWidth->setValue(prefsData->PageWidth * unitRatio);
//pageHeight->setValue(prefsData->PageHeight * unitRatio);
//pageWidth->setSuffix(unitSuffix);
//pageHeight->setSuffix(unitSuffix);
 
unitChange();
resize( minimumSizeHint() );
arrangeIcons();
prefsSelection->setSelected(prefsSelection->firstItem(), true);
itemSelected(prefsSelection->firstItem());
clearWState( WState_Polished );
//tdebug("end");
}
 
void Preferences::enableSignals(bool on)
{
if (on)
{
connect( guiLangCombo, SIGNAL( activated( const QString & ) ), this, SLOT( setSelectedGUILang( const QString & ) ) );
connect(backColor, SIGNAL(clicked()), this, SLOT(changePaperColor()));
connect(unitCombo, SIGNAL(activated(int)), this, SLOT(unitChange()));
connect(pageWidth, SIGNAL(valueChanged(int)), this, SLOT(setPageWidth(int)));
connect(pageHeight, SIGNAL(valueChanged(int)), this, SLOT(setPageHeight(int)));
connect(docLayout, SIGNAL( selectedLayout(int) ), this, SLOT( setDS(int) ) );
connect(pageOrientationComboBox, SIGNAL(activated(int)), this, SLOT(setOrien(int)));
connect(pageSizeComboBox, SIGNAL(activated(const QString &)), this, SLOT(setPageSize()));
connect(FileC, SIGNAL(clicked()), this, SLOT(changeDocs()));
connect(FileC2, SIGNAL(clicked()), this, SLOT(changeProfs()));
connect(FileC3, SIGNAL(clicked()), this, SLOT(changeScripts()));
connect(FileC4, SIGNAL(clicked()), this, SLOT(changeDocumentTemplates()));
// connect(ghostscriptChangeButton, SIGNAL(clicked()), this, SLOT(changeGhostscript()));
// connect(imageEditorChangeButton, SIGNAL(clicked()), this, SLOT(changeImageEditor()));
connect(CaliSlider, SIGNAL(valueChanged(int)), this, SLOT(setDisScale()));
connect(buttonOk, SIGNAL(clicked()), this, SLOT(setActionHistoryLength()));
if (CMSavail)
connect(tabColorManagement, SIGNAL(cmsOn(bool )), this, SLOT(switchCMS(bool )));
connect(applyChangesButton, SIGNAL(clicked()), this, SLOT(applyChangesButton_clicked()));
connect(backToDefaults, SIGNAL(clicked()), this, SLOT(backToDefaults_clicked()));
}
else
{
disconnect( guiLangCombo, SIGNAL( activated( const QString & ) ), this, SLOT( setSelectedGUILang( const QString & ) ) );
disconnect(backColor, SIGNAL(clicked()), this, SLOT(changePaperColor()));
disconnect(unitCombo, SIGNAL(activated(int)), this, SLOT(unitChange()));
disconnect(pageWidth, SIGNAL(valueChanged(int)), this, SLOT(setPageWidth(int)));
disconnect(pageHeight, SIGNAL(valueChanged(int)), this, SLOT(setPageHeight(int)));
disconnect(docLayout, SIGNAL( selectedLayout(int) ), this, SLOT( setDS(int) ) );
disconnect(pageOrientationComboBox, SIGNAL(activated(int)), this, SLOT(setOrien(int)));
disconnect(pageSizeComboBox, SIGNAL(activated(const QString &)), this, SLOT(setPageSize()));
disconnect(FileC, SIGNAL(clicked()), this, SLOT(changeDocs()));
disconnect(FileC2, SIGNAL(clicked()), this, SLOT(changeProfs()));
disconnect(FileC3, SIGNAL(clicked()), this, SLOT(changeScripts()));
disconnect(FileC4, SIGNAL(clicked()), this, SLOT(changeDocumentTemplates()));
// disconnect(ghostscriptChangeButton, SIGNAL(clicked()), this, SLOT(changeGhostscript()));
// disconnect(imageEditorChangeButton, SIGNAL(clicked()), this, SLOT(changeImageEditor()));
disconnect(CaliSlider, SIGNAL(valueChanged(int)), this, SLOT(setDisScale()));
disconnect(buttonOk, SIGNAL(clicked()), this, SLOT(setActionHistoryLength()));
if (CMSavail)
disconnect(tabColorManagement, SIGNAL(cmsOn(bool )), this, SLOT(switchCMS(bool )));
disconnect(applyChangesButton, SIGNAL(clicked()), this, SLOT(applyChangesButton_clicked()));
disconnect(backToDefaults, SIGNAL(clicked()), this, SLOT(backToDefaults_clicked()));
}
}
 
void Preferences::restoreDefaults()
{
prefsManager->initDefaults();
824,6 → 863,7
 
void Preferences::setupGui()
{
enableSignals(false);
ApplicationPrefs* prefsData=&(prefsManager->appPrefs);
//QWidget* current = prefsWidgets->visibleWidget();
 
914,7 → 954,7
//else if (current == tabTypo) // Typography
tabTypo->restoreDefaults(&prefsData->typographicSettings);
//else if (current == tabTools) // Tools
tabTools->restoreDefaults(&prefsData->toolSettings, docUnitIndex);
tabTools->restoreDefaults(&prefsData->toolSettings, docUnitIndex, true);
//else if (current == tabFonts) // Fonts
tabFonts->restoreDefaults();
//else if (current == tabDocChecker) // Preflight Verifier
959,7 → 999,9
useStandardLI->setChecked(prefsData->useStandardLI);
paragraphsLI->setValue(prefsData->paragraphsLI);
//}
// else if (current == pluginManagerPrefsGui) // Plugins
// else if (current == pluginManagerPrefsGui) // Plugins
enableSignals(true);
unitChange();
}
 
void Preferences::addPlugins()
/branches/Version13x/Scribus/scribus/tabkeyboardshortcutswidget.cpp
72,7 → 72,8
keyDisplay->setText("");
 
keyTable->setSorting(-1);
restoreDefaults();
// switched off as it's called in main prefs classes - PV
//restoreDefaults();
 
clearSearchButton->setPixmap(loadIcon("clear_right.png"));
// signals and slots connections
/branches/Version13x/Scribus/scribus/tabpdfoptions.cpp
1107,8 → 1107,9
// #endif
// BleedChanged();
 
restoreDefaults(Optionen, AllFonts, PDFXProfiles, DocFonts,
Eff, unitIndex, PageH, PageB, vie);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(Optionen, AllFonts, PDFXProfiles, DocFonts,
// Eff, unitIndex, PageH, PageB, vie);
 
if (vie != 0)
{
/branches/Version13x/Scribus/scribus/docinfo.cpp
133,7 → 133,8
addTab( page1, tr("Documen&t") );
addTab( page2, tr("Further &Information") );
 
restoreDefaults();
// switched off as it's called in main prefs classes - PV
//restoreDefaults();
 
//tooltips
QToolTip::add( authorEdit, "<qt>" + tr( "The person or organisation primarily responsible for making the content of the document. This field can be embedded in the Scribus document for reference, as well as in the metadata of a PDF" ) );
/branches/Version13x/Scribus/scribus/prefs.h
360,6 → 360,7
void restoreDefaults();
//! \brief Setup the GUI widgets by values taken from PrefsManager.
void setupGui();
void enableSignals(bool);
 
protected slots:
virtual void setTOCIndexData(QWidget *widgetToShow);
/branches/Version13x/Scribus/scribus/tabtools.cpp
380,7 → 380,8
tabToolsLayout->addWidget( subStackTools );
toolText->setOn(true);
 
restoreDefaults(prefsData, unitIndex);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(prefsData, unitIndex);
 
QToolTip::add( toolText, tr( "Text Frame Properties" ) );
QToolTip::add( toolImage, tr( "Picture Frame Properties" ) );
415,28 → 416,59
QToolTip::add( shadingLine, tr( "Saturation of color" ) );
QToolTip::add( comboStyleLine, tr( "Style of lines" ) );
QToolTip::add( lineWidthLine, tr( "Width of lines" ) );
connect(toolShape, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolPoly, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolImage, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolText, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolLine, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolZoom, SIGNAL(clicked()), this, SLOT(setTool()));
connect(fontComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(sizeComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(colorComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(colorComboTextBackground, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(shadingTextBack, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
connect(shadingText, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
connect(buttonGroup3, SIGNAL(clicked(int)), this, SLOT(changeImageScalingFree(int)));
connect(buttonGroup5, SIGNAL(clicked(int)), this, SLOT(changeImageScalingRatio(int)));
connect(chainButton, SIGNAL(clicked()), this, SLOT(toggleChain()));
connect(scalingHorizontal, SIGNAL(valueChanged(int)), this, SLOT(hChange()));
connect(scalingVertical, SIGNAL(valueChanged(int)), this, SLOT(vChange()));
connect(tabFillCombo, SIGNAL(activated(int)), this, SLOT(setFillChar(int)));
//enableSignals(true);
}
 
void TabTools::restoreDefaults(struct toolPrefs *prefsData, int unitIndex)
void TabTools::enableSignals(bool on)
{
if (on)
{
connect(toolShape, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolPoly, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolImage, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolText, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolLine, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolZoom, SIGNAL(clicked()), this, SLOT(setTool()));
connect(fontComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(sizeComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(colorComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(colorComboTextBackground, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(shadingTextBack, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
connect(shadingText, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
connect(buttonGroup3, SIGNAL(clicked(int)), this, SLOT(changeImageScalingFree(int)));
connect(buttonGroup5, SIGNAL(clicked(int)), this, SLOT(changeImageScalingRatio(int)));
connect(chainButton, SIGNAL(clicked()), this, SLOT(toggleChain()));
connect(scalingHorizontal, SIGNAL(valueChanged(int)), this, SLOT(hChange()));
connect(scalingVertical, SIGNAL(valueChanged(int)), this, SLOT(vChange()));
connect(tabFillCombo, SIGNAL(activated(int)), this, SLOT(setFillChar(int)));
}
else
{
disconnect(toolShape, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolPoly, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolImage, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolText, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolLine, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolZoom, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(fontComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(sizeComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(colorComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(colorComboTextBackground, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(shadingTextBack, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
disconnect(shadingText, SIGNAL(valueChanged(int)), this, SLOT(setSample()));
disconnect(buttonGroup3, SIGNAL(clicked(int)), this, SLOT(changeImageScalingFree(int)));
disconnect(buttonGroup5, SIGNAL(clicked(int)), this, SLOT(changeImageScalingRatio(int)));
disconnect(chainButton, SIGNAL(clicked()), this, SLOT(toggleChain()));
disconnect(scalingHorizontal, SIGNAL(valueChanged(int)), this, SLOT(hChange()));
disconnect(scalingVertical, SIGNAL(valueChanged(int)), this, SLOT(vChange()));
disconnect(tabFillCombo, SIGNAL(activated(int)), this, SLOT(setFillChar(int)));
}
}
 
void TabTools::restoreDefaults(struct toolPrefs *prefsData, int unitIndex, bool drawSample)
{
enableSignals(false);
 
PrefsManager* prefsManager=PrefsManager::instance();
unit = unitGetSuffixFromIndex(unitIndex);
precision = unitGetPrecisionFromIndex(unitIndex);
516,7 → 548,6
colorComboStrokeText->setCurrentItem(colorComboStrokeText->count()-1);
}
}
 
shadingTextStroke->setValue(prefsData->dTextStrokeShade);
 
colorComboTextBackground->clear();
543,7 → 574,6
colorComboTextBackground->setCurrentItem(colorComboTextBackground->count()-1);
}
}
 
shadingTextBack->setValue(prefsData->dTextBackGroundShade);
 
colorComboTextLine->clear();
570,7 → 600,6
colorComboTextLine->setCurrentItem(colorComboTextLine->count()-1);
}
}
 
shadingTextLine->setValue(prefsData->dTextLineShade);
 
tabFillCombo->clear();
601,7 → 630,6
tabFillCombo->setEditable(true);
tabFillCombo->setEditText( tr("Custom: "+prefsData->tabFillChar));
}
 
gapTab->setSuffix( unit );
gapTab->setValue(prefsData->dTabWidth * unitRatio);
columnsText->setValue(prefsData->dCols);
632,7 → 660,6
colorComboLineShape->setCurrentItem(colorComboLineShape->count()-1);
}
}
 
shadingLineShape->setValue(prefsData->dShade2);
 
comboFillShape->clear();
797,7 → 824,11
minimumZoom->setValue(prefsData->magMin);
maximumZoom->setValue(prefsData->magMax);
zoomStep->setValue( prefsData->magStep );
setSample();
 
if (drawSample)
setSample(); // only if it's needed - speedup the prefs load
 
enableSignals(true);
}
 
void TabTools::setCustomFillChar(const QString &txt)
916,8 → 947,9
si->setTxColor(paletteBackgroundColor());
si->setFont(fontComboText->currentText());
si->setFontSize(sizeComboText->currentText().left(2).toInt() * 10, true);
QPixmap pm = si->getSample(previewText->width(), previewText->height());
previewText->setPixmap(pm);
/*QPixmap pm = si->getSample(previewText->width(), previewText->height());
previewText->setPixmap(pm);*/
previewText->setPixmap(si->getSample(previewText->width(), previewText->height()));
delete si;
}
 
/branches/Version13x/Scribus/scribus/cmsprefs.cpp
187,7 → 187,8
// convertAll->setEnabled(simulate->isEnabled() && simulate->isChecked());
// gamutC->setEnabled(simulate->isEnabled() && simulate->isChecked());
 
restoreDefaults(prefs, InputProfiles, InputProfilesCMYK, PrinterProfiles, MonitorProfiles);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(prefs, InputProfiles, InputProfilesCMYK, PrinterProfiles, MonitorProfiles);
 
QToolTip::add( inputPCMYKIm, tr( "Default color profile for imported CMYK images" ) );
QToolTip::add( inputPRGBIm, tr( "Default color profile for imported RGB images" ) );
/branches/Version13x/Scribus/scribus/tabtypography.cpp
142,7 → 142,8
textLabel8a = new QLabel( autoLine, tr( "Line Spacing:" ), groupBox4a, "textLabel8a" );
groupBox4aLayout->addWidget( textLabel8a, 1, 0 );
tabTypoLayout->addWidget( groupBox4a, 4, 1 );
restoreDefaults(prefsData);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(prefsData);
QToolTip::add( superDisplacement, tr( "Displacement above the baseline of the font on a line" ) );
QToolTip::add( superScaling, tr( "Relative size of the superscript compared to the normal font" ) );
QToolTip::add( subDisplacement, tr( "Displacement below the baseline of the normal font on a line" ) );
/branches/Version13x/Scribus/scribus/tabguides.cpp
207,7 → 207,8
layout9a->addWidget( baseGridBox );
tabGuidesLayout->addLayout( layout9a );
 
restoreDefaults(prefsData, prefsData2, unitIndex);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(prefsData, prefsData2, unitIndex);
 
connect(majorGridColor, SIGNAL(clicked()), this, SLOT(changeMajorColor()));
connect(minorGridColor, SIGNAL(clicked()), this, SLOT(changeMinorColor()));
/branches/Version13x/Scribus/scribus/tabcheckdoc.cpp
94,7 → 94,8
layout1->addItem( spacer2 );
TabCheckDocLayout->addLayout( layout1 );
 
restoreDefaults(&prefsData, prefProfile);
// switched off as it's called in main prefs classes - PV
//restoreDefaults(&prefsData, prefProfile);
 
connect(curCheckProfile, SIGNAL(activated(const QString&)), this, SLOT(setProfile(const QString&)));
connect(curCheckProfile, SIGNAL(textChanged(const QString&)), this, SLOT(setProfile(const QString&)));