mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 21:12:31 -04:00
Removed some more compiler warnings from Windows compile (GCC 4.4).
Added -Wextra to the Windows compile. Added new define in libbitdht for snprintf and fprintf to proper handling of "%ll" under Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2d2b7230d1
commit
970d88200d
35 changed files with 170 additions and 125 deletions
|
@ -446,13 +446,6 @@ 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;
|
||||
|
||||
// std::cerr << "Got update signal t=" << lastTs << std::endl ;
|
||||
|
||||
lastTs = time(NULL) ;
|
||||
|
||||
static bool already_updated = false ; // these only update once at start because they may already have been set before
|
||||
// the gui is running, then they get updated by callbacks.
|
||||
if(!already_updated)
|
||||
|
@ -656,9 +649,6 @@ void NotifyQt::runningTick()
|
|||
{
|
||||
// QMutexLocker lock(&runningToasterMutex);
|
||||
|
||||
QDesktopWidget *desktop = QApplication::desktop();
|
||||
QRect desktopGeometry = desktop->availableGeometry(desktop->primaryScreen());
|
||||
|
||||
int interval = runningToasterTimer->interval();
|
||||
QPoint diff;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue