mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
Introduced a minimal version of RetroShare.
You can enable it in libretroshare.pro and RetroShare.pro by uncomment CONFIG += minimal This enables two new defines for stripping all not needed things - libretroshare: MINIMAL_LIBRS - GUI: MINIMAL_RSGUI and removes not needed files from build (see end of the files libretroshare.pro and RetroShare.pro). Beware: All data of the stripped services are lost git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b6b5fa5cd6
commit
8832f7dfc5
10 changed files with 225 additions and 27 deletions
|
@ -11,10 +11,12 @@
|
|||
|
||||
#include "gui/RsAutoUpdatePage.h"
|
||||
|
||||
#ifndef MINIMAL_RSGUI
|
||||
#include "gui/toaster/OnlineToaster.h"
|
||||
#include "gui/toaster/MessageToaster.h"
|
||||
#include "gui/toaster/ChatToaster.h"
|
||||
#include "gui/toaster/CallToaster.h"
|
||||
#endif // MINIMAL_RSGUI
|
||||
|
||||
#include "gui/settings/rsharesettings.h"
|
||||
|
||||
|
@ -277,6 +279,7 @@ void NotifyQt::notifyListPreChange(int list, int type)
|
|||
|
||||
void NotifyQt::UpdateGUI()
|
||||
{
|
||||
#ifndef MINIMAL_RSGUI
|
||||
/* hack to force updates until we've fixed that part */
|
||||
static time_t lastTs = 0;
|
||||
|
||||
|
@ -388,6 +391,7 @@ void NotifyQt::UpdateGUI()
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // MINIMAL_RSGUI
|
||||
}
|
||||
|
||||
//void NotifyQt::displaySearch()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue