|
a/src/qtgui/viewaction_w.cpp |
|
b/src/qtgui/viewaction_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.4 2006-12-19 12:11:21 dockes Exp $ (C) 2006 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: viewaction_w.cpp,v 1.5 2007-09-08 17:21:49 dockes Exp $ (C) 2006 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
99 |
if (action0.isEmpty()) {
|
99 |
if (action0.isEmpty()) {
|
100 |
action0 = action;
|
100 |
action0 = action;
|
101 |
} else {
|
101 |
} else {
|
102 |
if (action != action0 && dowarnmultiple) {
|
102 |
if (action != action0 && dowarnmultiple) {
|
103 |
switch (QMessageBox::warning(0, "Recoll",
|
103 |
switch (QMessageBox::warning(0, "Recoll",
|
104 |
tr("Changing actions with different"
|
104 |
tr("Changing actions with different "
|
105 |
"current values"),
|
105 |
"current values"),
|
106 |
"Continue",
|
106 |
"Continue",
|
107 |
"Cancel",
|
107 |
"Cancel",
|
108 |
0, 0, 1)) {
|
108 |
0, 0, 1)) {
|
109 |
case 0: dowarnmultiple = false;break;
|
109 |
case 0: dowarnmultiple = false;break;
|