Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
9c0478c3
Commit
9c0478c3
authored
Mar 31, 2010
by
kh1
Browse files
Fix typo and code leftover.
parent
b40bdf8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/help/openpagesmanager.cpp
View file @
9c0478c3
...
...
@@ -86,8 +86,6 @@ QWidget* OpenPagesManager::openPagesWidget() const
QComboBox
*
OpenPagesManager
::
openPagesComboBox
()
const
{
if
(
!
m_comboBox
)
{
}
return
m_comboBox
;
}
...
...
@@ -192,7 +190,7 @@ void OpenPagesManager::setCurrentPage(int index)
m_comboBox
->
setCurrentIndex
(
index
);
CentralWidget
::
instance
()
->
setCurrentPage
(
m_model
->
pageAt
(
index
));
selectCurrentPage
();
// update the selction inside the tree view
selectCurrentPage
();
// update the sel
e
ction inside the tree view
}
void
OpenPagesManager
::
setCurrentPage
(
const
QModelIndex
&
index
)
...
...
@@ -252,5 +250,5 @@ void OpenPagesManager::removePage(int index)
CentralWidget
::
instance
()
->
removePage
(
index
);
emit
pagesChanged
();
selectCurrentPage
();
// update the selction inside the tree view
selectCurrentPage
();
// update the sel
e
ction inside the tree view
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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