diff options
author | Anselmo L. S. Melo <[email protected]> | 2014-03-29 18:31:57 -0300 |
---|---|---|
committer | Anselmo L. S. Melo <[email protected]> | 2014-05-09 13:04:53 +0200 |
commit | 5a530b2b9e514a83b9e5f2a66f06b37d35cac3f2 (patch) | |
tree | 7d782a5a1e5e1b1afe2cf16fa4c546c6af6eedd2 /src/utils | |
parent | 67d58739f5e2fbefd45ff911da244aa4c910529d (diff) |
This project was developed before the release of Qt 5.0, so some
of the APIs had to be updated in order to build again.
Change-Id: I579d7170ea0d80bd33aee29ec807461af603b0d3
Reviewed-by: Anselmo L. S. Melo <[email protected]>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/uiaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/uiaction.cpp b/src/utils/uiaction.cpp index cc38827..0485ca1 100644 --- a/src/utils/uiaction.cpp +++ b/src/utils/uiaction.cpp @@ -859,7 +859,7 @@ void UiAction::activate(ActionEvent event) { Q_D(UiAction); if (event == Trigger) { - QWeakPointer<QObject> guard = this; + QPointer<QObject> guard = this; if (d->checkable) { // the checked action of an exclusive group cannot be unchecked if (d->checked && (d->group && d->group->isExclusive() |