Skip to content

Commit 2f2f757

Browse files
authored
Fixed typo in url link (#506)
The sphinx url links need single backticks not double backticks Also fixed wording to use qapp fixture instead of QApplication.instance()
1 parent f1a6ac5 commit 2f2f757

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/reference.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Record
4848
.. module:: pytestqt.logging
4949
.. autoclass:: Record
5050

51+
.. _qapp-fixture:
52+
5153
qapp fixture
5254
------------
5355

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Here the first parameter indicates that we will be using a ``qtbot`` fixture to
3838

3939
It is not necessary to create a QApplication instance, since the ``qtbot`` fixture will
4040
do this for you. The ``QApplication`` object is accessible through the
41-
``QApplication.instance()``_ function that returns a pointer equivalent to the global
41+
:ref:`qapp fixture<qapp-fixture>` that returns a pointer equivalent to the global
4242
``qApp`` pointer.
4343

4444
The other parameter is pytest's standard tmpdir_ that we use to create some files that will be

0 commit comments

Comments
 (0)