|
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.68 2008-09-24 05:31:00 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.69 2008-09-24 05:35:03 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
|
|
... |
|
... |
381 |
} else {
|
381 |
} else {
|
382 |
stype = SSearch::SST_LANG;
|
382 |
stype = SSearch::SST_LANG;
|
383 |
}
|
383 |
}
|
384 |
mainWindow->sSearch->searchTypCMB->setCurrentItem(int(stype));
|
384 |
mainWindow->sSearch->searchTypCMB->setCurrentItem(int(stype));
|
385 |
mainWindow->
|
385 |
mainWindow->
|
386 |
sSearch->setSearchString(QString::fromLocal8Bit(qstring.c_str()));
|
386 |
sSearch->setSearchString(QString::fromLocal8Bit(question.c_str()));
|
387 |
// The 200 ms are a hack to jump over the first db close by
|
387 |
// The 200 ms are a hack to jump over the first db close by
|
388 |
// periodic100()...
|
388 |
// periodic100()...
|
389 |
QTimer::singleShot(200, mainWindow->sSearch, SLOT(startSimpleSearch()));
|
389 |
QTimer::singleShot(200, mainWindow->sSearch, SLOT(startSimpleSearch()));
|
390 |
}
|
390 |
}
|
391 |
// fprintf(stderr, "Go\n");
|
391 |
// fprintf(stderr, "Go\n");
|