|
a/src/qtgui/main.cpp |
|
b/src/qtgui/main.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.36 2006-01-30 09:28:50 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.37 2006-02-02 08:35:18 dockes Exp $ (C) 2005 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
|
|
... |
|
... |
209 |
mainWindow, SLOT(periodic100()));
|
209 |
mainWindow, SLOT(periodic100()));
|
210 |
timer->start(100);
|
210 |
timer->start(100);
|
211 |
|
211 |
|
212 |
if (!maybeOpenDb(reason)) {
|
212 |
if (!maybeOpenDb(reason)) {
|
213 |
startindexing = 1;
|
213 |
startindexing = 1;
|
|
|
214 |
|
214 |
switch (QMessageBox::
|
215 |
switch (QMessageBox::
|
|
|
216 |
#if (QT_VERSION < 0x030200)
|
|
|
217 |
question
|
|
|
218 |
#else
|
|
|
219 |
information
|
|
|
220 |
#endif
|
215 |
question(0, "Recoll",
|
221 |
(0, "Recoll",
|
216 |
app.translate("Main", "Could not open database in ")+
|
222 |
app.translate("Main", "Could not open database in ")+
|
217 |
QString(dbdir) +
|
223 |
QString(dbdir) +
|
218 |
app.translate("Main",
|
224 |
app.translate("Main",
|
219 |
".\n"
|
225 |
".\n"
|
220 |
"Click Cancel if you want to edit the configuration file before indexation starts, or Ok to let it proceed."),
|
226 |
"Click Cancel if you want to edit the configuration file before indexation starts, or Ok to let it proceed."),
|