align special application settings dialog title

BUG: 288586
FIXED-IN: 4.9
REVIEW: 104279
icc-effect-5.14.5
Thomas Lübking 2012-03-14 08:48:51 +01:00
parent 6928b027c7
commit fe96a02960
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ static int edit(Window wid, bool whole_app)
loadRules(rules);
Rules* orig_rule = findRule(rules, wid, whole_app);
RulesDialog dlg;
if (whole_app)
dlg.setWindowTitle(i18nc("Window caption for the application wide rules dialog", "Edit Application-Specific Settings"));
// dlg.edit() creates new Rules instance if edited
Rules* edited_rule = dlg.edit(orig_rule, wid, true);
if (edited_rule == NULL || edited_rule->isEmpty()) {