diff --git a/core/kdeconnectconfig.h b/core/kdeconnectconfig.h index e714dd20b..9a6e7f5df 100644 --- a/core/kdeconnectconfig.h +++ b/core/kdeconnectconfig.h @@ -81,8 +81,8 @@ private: KdeConnectConfig(); private: - QScopedPointer d; + struct KdeConnectConfigPrivate* d; }; #endif diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index 556fd9ebe..bec04d6ea 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -18,9 +18,6 @@ * along with this program. If not, see . */ -#include -#include - #include #include @@ -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())); diff --git a/tests/downloadjobtest.cpp b/tests/downloadjobtest.cpp index efaea3dc2..312769b66 100644 --- a/tests/downloadjobtest.cpp +++ b/tests/downloadjobtest.cpp @@ -26,7 +26,6 @@ #include #include #include -#include #include class DownloadJobTest : public QObject diff --git a/tests/testsocketlinereader.cpp b/tests/testsocketlinereader.cpp index a3e73af1b..25c5f4182 100644 --- a/tests/testsocketlinereader.cpp +++ b/tests/testsocketlinereader.cpp @@ -24,7 +24,6 @@ #include #include #include -#include class TestSocketLineReader : public QObject {