aboutsummaryrefslogtreecommitdiffstats
path: root/src/winextras/qwintaskbarbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/winextras/qwintaskbarbutton.cpp')
-rw-r--r--src/winextras/qwintaskbarbutton.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/winextras/qwintaskbarbutton.cpp b/src/winextras/qwintaskbarbutton.cpp
index 7150e1b..3bf0035 100644
--- a/src/winextras/qwintaskbarbutton.cpp
+++ b/src/winextras/qwintaskbarbutton.cpp
@@ -71,6 +71,10 @@ QT_BEGIN_NAMESPACE
\snippet code/taskbar.cpp taskbar_cpp
+ \note QWidget::windowHandle() returns a valid instance of a QWindow only
+ after the widget has been shown. It is therefore recommended to delay the
+ initialization of the QWinTaskbarButton instances until QWidget::showEvent().
+
\note The class wraps API only available since Windows 7. Instantiating it
on Windows XP or Windows Vista causes a runtime warning.