Fixed compilation on Windows

This commit is contained in:
Albert Vaca 2016-06-20 02:31:55 +02:00
parent 41d5940178
commit cc0fdacbf5
4 changed files with 1 additions and 10 deletions

View file

@ -81,8 +81,8 @@ private:
KdeConnectConfig();
private:
QScopedPointer<struct KdeConnectConfigPrivate> d;
struct KdeConnectConfigPrivate* d;
};
#endif

View file

@ -18,9 +18,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <unistd.h>
#include <signal.h>
#include <QApplication>
#include <QNetworkAccessManager>
@ -84,10 +81,6 @@ int main(int argc, char* argv[])
KDBusService dbusService(KDBusService::Unique);
#ifdef Q_OS_WIN
qputenv("KDE_FORK_SLAVES");
#endif
Daemon* daemon = new DesktopDaemon;
QObject::connect(daemon, SIGNAL(destroyed(QObject*)), &app, SLOT(quit()));

View file

@ -26,7 +26,6 @@
#include <QTimer>
#include <QHostAddress>
#include <KJob>
#include <unistd.h>
#include <iostream>
class DownloadJobTest : public QObject

View file

@ -24,7 +24,6 @@
#include <QProcess>
#include <QEventLoop>
#include <QTimer>
#include <unistd.h>
class TestSocketLineReader : public QObject
{