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
358eceac
Commit
358eceac
authored
Dec 08, 2008
by
hjk
Browse files
whitespace cosmetics
parent
17f17851
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/viewmanager.cpp
View file @
358eceac
...
...
@@ -63,7 +63,7 @@ ViewManager::ViewManager(MainWindow *mainWnd) :
ViewManagerInterface
(
mainWnd
),
m_mainWnd
(
mainWnd
)
{
for
(
int
i
=
0
;
i
<
3
;
++
i
)
{
for
(
int
i
=
0
;
i
<
3
;
++
i
)
{
QWidget
*
w
=
new
QWidget
();
m_mainWnd
->
statusBar
()
->
insertPermanentWidget
(
i
,
w
);
w
->
setLayout
(
new
QHBoxLayout
);
...
...
@@ -89,7 +89,7 @@ void ViewManager::init()
void
ViewManager
::
objectAdded
(
QObject
*
obj
)
{
IView
*
view
=
Aggregation
::
query
<
IView
>
(
obj
);
IView
*
view
=
Aggregation
::
query
<
IView
>
(
obj
);
if
(
!
view
)
return
;
...
...
@@ -104,8 +104,8 @@ void ViewManager::objectAdded(QObject *obj)
void
ViewManager
::
aboutToRemoveObject
(
QObject
*
obj
)
{
IView
*
view
=
Aggregation
::
query
<
IView
>
(
obj
);
if
(
!
view
)
IView
*
view
=
Aggregation
::
query
<
IView
>
(
obj
);
if
(
!
view
)
return
;
m_mainWnd
->
removeContextObject
(
view
);
}
...
...
@@ -121,10 +121,10 @@ void ViewManager::saveSettings(QSettings *settings)
settings
->
setValue
(
QLatin1String
(
"ViewGroup_Default"
),
m_mainWnd
->
saveState
());
}
IView
*
ViewManager
::
view
(
const
QString
&
id
)
IView
*
ViewManager
::
view
(
const
QString
&
id
)
{
QList
<
IView
*>
list
=
m_mainWnd
->
pluginManager
()
->
getObjects
<
IView
>
();
foreach
(
IView
*
view
,
list
)
{
foreach
(
IView
*
view
,
list
)
{
if
(
view
->
uniqueViewName
()
==
id
)
return
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