diff options
author | Robin Burchell <robin.burchell@collabora.com> | 2011-10-27 10:58:57 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-28 16:29:13 +0200 |
commit | a2337f79ffd229aa1e91f6bfec6294570eb3fe44 (patch) | |
tree | 48d68ba1c19bb629a096344453cf69cd692affba /src/widgets/styles/qgtkstyle_p.cpp | |
parent | 1cae2fdb864f2b67333a7c80742b8e493865b3f9 (diff) |
Remove Windows and X11 from src/widgets/platforms.
This is dead code, unused with QPA in place, so remove it to avoid confusion
caused through grepping for class names existing in both old and new places.
Mac code is left in place for now, as some of it is still in use.
Change-Id: Ia82cd5bbabe71285ca997f79d8fd9c0504e32c28
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/widgets/styles/qgtkstyle_p.cpp')
-rw-r--r-- | src/widgets/styles/qgtkstyle_p.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/styles/qgtkstyle_p.cpp b/src/widgets/styles/qgtkstyle_p.cpp index 35f022bac4..a2fabde736 100644 --- a/src/widgets/styles/qgtkstyle_p.cpp +++ b/src/widgets/styles/qgtkstyle_p.cpp @@ -73,7 +73,6 @@ #include <QtWidgets/QMenuBar> #include <QtWidgets/QToolBar> #include <QtWidgets/QToolButton> -#include <QtWidgets/QX11Info> #include <private/qt_x11_p.h> @@ -947,7 +946,9 @@ void QGtkStylePrivate::setupGtkFileChooser(GtkWidget* gtkFileChooser, QWidget *p XSetTransientForHint(QGtkStylePrivate::gdk_x11_drawable_get_xdisplay(gtkFileChooser->window), QGtkStylePrivate::gdk_x11_drawable_get_xid(gtkFileChooser->window), modalFor->winId()); +#ifdef Q_WS_X11 QGtkStylePrivate::gdk_x11_window_set_user_time (gtkFileChooser->window, QX11Info::appUserTime()); +#endif } |