align special application settings dialog title

BUG: 288586
FIXED-IN: 4.9
REVIEW: 104279
This commit is contained in:
Thomas Lübking 2012-03-14 08:48:51 +01:00
parent 6928b027c7
commit fe96a02960

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()) {