|
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.54 2006-12-04 06:19:11 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.55 2006-12-04 09:56:26 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
|
|
... |
|
... |
116 |
}
|
116 |
}
|
117 |
|
117 |
|
118 |
static void recollCleanup()
|
118 |
static void recollCleanup()
|
119 |
{
|
119 |
{
|
120 |
LOGDEB(("recollCleanup: writing settings\n"));
|
120 |
LOGDEB(("recollCleanup: writing settings\n"));
|
121 |
if (mainWindow) {
|
|
|
122 |
prefs.mainwidth = mainWindow->width();
|
|
|
123 |
prefs.mainheight = mainWindow->height();
|
|
|
124 |
prefs.ssearchTyp = mainWindow->sSearch->searchTypCMB->currentItem();
|
|
|
125 |
}
|
|
|
126 |
rwSettings(true);
|
121 |
rwSettings(true);
|
127 |
LOGDEB2(("recollCleanup: stopping idx thread\n"));
|
122 |
LOGDEB2(("recollCleanup: stopping idx thread\n"));
|
128 |
stop_idxthread();
|
123 |
stop_idxthread();
|
129 |
LOGDEB2(("recollCleanup: closing database\n"));
|
124 |
LOGDEB2(("recollCleanup: closing database\n"));
|
130 |
delete rcldb;
|
125 |
delete rcldb;
|