Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1a8b58e5
Commit
1a8b58e5
authored
Jun 24, 2014
by
Bryant Mairs
Browse files
qVariantValue no longer exists, .value<T>() replaces it.
parent
3f5ba935
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
1a8b58e5
...
...
@@ -899,7 +899,7 @@ void MainWindow::addToCentralStackedWidget(QWidget* widget, VIEW_SECTIONS viewSe
void
MainWindow
::
showCentralWidget
()
{
QAction
*
act
=
qobject_cast
<
QAction
*>
(
sender
());
QWidget
*
widget
=
qVariantV
alue
<
QWidget
*>
(
act
->
data
()
);
QWidget
*
widget
=
act
->
data
().
v
alue
<
QWidget
*>
();
centerStack
->
setCurrentWidget
(
widget
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment