Solving issue 2732: "Command-line option to use default (non)raw PP3 does not work"

This commit is contained in:
Hombre
2015-04-06 23:18:32 +02:00
parent 5ee2bf9431
commit 55af95b15b
7 changed files with 13 additions and 21 deletions

View File

@@ -151,10 +151,9 @@ void History::historySelectionChanged () {
if (row)
bTreeView->get_selection()->unselect_all ();
if (row && tpc) {
ProcParams pparams = row[historyColumns.params];
ProcParams pparams = row[historyColumns.params];
ParamsEdited pe;
pe.set(true);
PartialProfile pp(&pparams, &pe);
PartialProfile pp(&pparams, &pe);
ParamsEdited paramsEdited = row[historyColumns.paramsEdited];
tpc->profileChange (&pp, EvHistoryBrowsed, row[historyColumns.text], &paramsEdited);
}
@@ -177,10 +176,9 @@ void History::bookmarkSelectionChanged () {
if (row)
hTreeView->get_selection()->unselect_all ();
if (row && tpc) {
ProcParams pparams = row[bookmarkColumns.params];
ProcParams pparams = row[bookmarkColumns.params];
ParamsEdited pe;
pe.set(true);
PartialProfile pp(&pparams, &pe);
PartialProfile pp(&pparams, &pe);
ParamsEdited paramsEdited = row[bookmarkColumns.paramsEdited];
tpc->profileChange (&pp, EvBookmarkSelected, row[bookmarkColumns.text], &paramsEdited);
}