mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kcontrol: adjust kdebug KCM to KDebug changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
48be88b942
commit
d21a8f77e2
1 changed files with 4 additions and 5 deletions
|
@ -81,7 +81,6 @@ KCMDebug::KCMDebug( QWidget* parent, const QVariantList& )
|
||||||
|
|
||||||
QStringList destList;
|
QStringList destList;
|
||||||
destList.append( i18n("File") );
|
destList.append( i18n("File") );
|
||||||
destList.append( i18n("Message Box") );
|
|
||||||
destList.append( i18n("Shell") );
|
destList.append( i18n("Shell") );
|
||||||
destList.append( i18n("Syslog") );
|
destList.append( i18n("Syslog") );
|
||||||
destList.append( i18n("None") );
|
destList.append( i18n("None") );
|
||||||
|
@ -235,16 +234,16 @@ void KCMDebug::showArea(const QString& areaName)
|
||||||
/* Fill dialog fields with values from config data */
|
/* Fill dialog fields with values from config data */
|
||||||
mCurrentDebugArea = areaName;
|
mCurrentDebugArea = areaName;
|
||||||
KConfigGroup group = pConfig->group(areaName);
|
KConfigGroup group = pConfig->group(areaName);
|
||||||
pInfoCombo->setCurrentIndex( group.readEntry( "InfoOutput", 4 ) );
|
pInfoCombo->setCurrentIndex( group.readEntry( "InfoOutput", 3 ) );
|
||||||
pInfoFile->setText( group.readPathEntry( "InfoFilename","kdebug.log" ) );
|
pInfoFile->setText( group.readPathEntry( "InfoFilename","kdebug.log" ) );
|
||||||
//pInfoShow->setText( group.readEntry( "InfoShow" ) );
|
//pInfoShow->setText( group.readEntry( "InfoShow" ) );
|
||||||
pWarnCombo->setCurrentIndex( group.readEntry( "WarnOutput", 2 ) );
|
pWarnCombo->setCurrentIndex( group.readEntry( "WarnOutput", 1 ) );
|
||||||
pWarnFile->setText( group.readPathEntry( "WarnFilename","kdebug.log" ) );
|
pWarnFile->setText( group.readPathEntry( "WarnFilename","kdebug.log" ) );
|
||||||
//pWarnShow->setText( group.readEntry( "WarnShow" ) );
|
//pWarnShow->setText( group.readEntry( "WarnShow" ) );
|
||||||
pErrorCombo->setCurrentIndex( group.readEntry( "ErrorOutput", 2 ) );
|
pErrorCombo->setCurrentIndex( group.readEntry( "ErrorOutput", 1 ) );
|
||||||
pErrorFile->setText( group.readPathEntry( "ErrorFilename","kdebug.log") );
|
pErrorFile->setText( group.readPathEntry( "ErrorFilename","kdebug.log") );
|
||||||
//pErrorShow->setText( group.readEntry( "ErrorShow" ) );
|
//pErrorShow->setText( group.readEntry( "ErrorShow" ) );
|
||||||
pFatalCombo->setCurrentIndex( group.readEntry( "FatalOutput", 2 ) );
|
pFatalCombo->setCurrentIndex( group.readEntry( "FatalOutput", 1 ) );
|
||||||
pFatalFile->setText( group.readPathEntry("FatalFilename","kdebug.log") );
|
pFatalFile->setText( group.readPathEntry("FatalFilename","kdebug.log") );
|
||||||
//pFatalShow->setText( group.readEntry( "FatalShow" ) );
|
//pFatalShow->setText( group.readEntry( "FatalShow" ) );
|
||||||
pAbortFatal->setChecked( group.readEntry( "AbortFatal", 1 ) );
|
pAbortFatal->setChecked( group.readEntry( "AbortFatal", 1 ) );
|
||||||
|
|
Loading…
Add table
Reference in a new issue