aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@theqtcompany.com>2016-07-07 13:16:12 +0200
committerNico Vertriest <nico.vertriest@theqtcompany.com>2016-07-08 08:25:24 +0000
commit98fb6869996bed30c09bcf9d0ce67fe474249e60 (patch)
treee309f8128c6da81ad3da3e5ca98739ffb05b8082
parent3e83ebbc2605b35e79b5994f9732e60dc8af968c (diff)
Doc: minor link and doc compilation errors
Cannot find 'QGamepad::isConnected' specified with '\property' Can't link to 'Qt Creator: Building and Running an Example' Change-Id: Ia4654251f3fcf7d3b4665cd773b3fefa68cd9ecf Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
-rw-r--r--src/gamepad/doc/qtgamepad.qdocconf1
-rw-r--r--src/gamepad/qgamepad.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gamepad/doc/qtgamepad.qdocconf b/src/gamepad/doc/qtgamepad.qdocconf
index 013bf7d..5f2d1fe 100644
--- a/src/gamepad/doc/qtgamepad.qdocconf
+++ b/src/gamepad/doc/qtgamepad.qdocconf
@@ -31,6 +31,7 @@ qhp.QtGamepad.subprojects.examples.indexTitle = Qt Gamepad Examples
qhp.QtGamepad.subprojects.examples.selectors = fake:example
qhp.QtGamepad.subprojects.examples.sortPages = true
+depends = qtcore qtdoc qmake
headerdirs += ../ \
../../plugins
diff --git a/src/gamepad/qgamepad.cpp b/src/gamepad/qgamepad.cpp
index 560c6ff..9a759cb 100644
--- a/src/gamepad/qgamepad.cpp
+++ b/src/gamepad/qgamepad.cpp
@@ -110,12 +110,10 @@ int QGamepad::deviceId() const
}
/*!
- * \property QGamepad::isConnected
- *
+ * \property QGamepad::connected
* This property holds the connectivity state of the gamepad device. If a gamepad is connected
* this property will be true, otherwise false.
*/
-
bool QGamepad::isConnected() const
{
return m_connected;