add filtermaxseconds to config

This commit is contained in:
dockes
2009-10-14 12:23:35 +00:00
parent 45f4acd152
commit 1d49117bcd
2 changed files with 16 additions and 0 deletions
+12
View File
@@ -388,6 +388,18 @@ ConfSubPanelW::ConfSubPanelW(QWidget *parent, ConfNull *config)
vboxLayout->addWidget(m_groupbox);
subDirChanged();
ConfLink lnkfiltmaxsecs(new ConfLinkRclRep(config, "filtermaxseconds"));
ConfParamIntW *efiltmaxsecs = new
ConfParamIntW(m_groupbox, lnkfiltmaxsecs,
tr("Max. filter exec. time (S)"),
tr("External filters working longer than this will be "
"aborted. This is for the rare case (ie: postscript) "
"where a document could cause a filter to loop"
"Set to -1 for no limit.\n"),
-1, 10000);
m_widgets.push_back(efiltmaxsecs);
}
void ConfSubPanelW::reloadAll()