1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Minor trivial cleanups in platform/*

This commit is contained in:
tux3 2015-05-13 14:37:12 +02:00
parent bdefe54efa
commit ce5e91dcfc
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
3 changed files with 1 additions and 4 deletions

View File

@ -19,7 +19,6 @@
#if defined(__APPLE__) && defined(__MACH__)
#include "src/platform/timer.h"
#include <QDebug>
#include <IOKit/IOKitLib.h>
#include <CoreFoundation/CoreFoundation.h>
@ -27,7 +26,7 @@
uint32_t Platform::getIdleTime()
{
// https://hg.pidgin.im/pidgin/main/file/13e4ae613a6a/pidgin/gtkidle.c
static io_service_t service = NULL;
static io_service_t service = 0;
CFTypeRef property;
uint64_t idleTime_ns = 0;

View File

@ -12,7 +12,6 @@
See the COPYING file for more details.
*/
#include <QDebug>
#ifdef Q_OS_WIN32
#include "src/platform/timer.h"
#include <windows.h>

View File

@ -12,7 +12,6 @@
See the COPYING file for more details.
*/
#include <QDebug>
#if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__)
#include "src/platform/timer.h"
#include <X11/extensions/scrnsaver.h>