summaryrefslogtreecommitdiffstats
path: root/src/winmain/qtmain_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/winmain/qtmain_win.cpp')
-rw-r--r--src/winmain/qtmain_win.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/winmain/qtmain_win.cpp b/src/winmain/qtmain_win.cpp
index 0f29c6ac95..5520a447a9 100644
--- a/src/winmain/qtmain_win.cpp
+++ b/src/winmain/qtmain_win.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Windows main function of the Qt Toolkit.
@@ -48,12 +48,8 @@
**
****************************************************************************/
-#include "qt_windows.h"
-#include "qbytearray.h"
-#include "qstring.h"
-#include "qvector.h"
-
-#include <shlobj.h>
+#include <windows.h>
+#include <shellapi.h>
/*
This file contains the code in the qtmain library for Windows.
@@ -64,9 +60,6 @@
invoked.
*/
-QT_USE_NAMESPACE
-
-
#if defined(QT_NEEDS_QMAIN)
int qMain(int, char **);
#define main qMain