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
Tobias Hunger
qt-creator
Commits
09327628
Commit
09327628
authored
Sep 29, 2010
by
Lasse Holmstedt
Browse files
Debugger: Use mainwindow as the parent of message boxes
Reviewed-by: hjk
parent
89443cfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerengine.cpp
View file @
09327628
...
...
@@ -1024,8 +1024,7 @@ QStringList DebuggerEngine::qtDumperLibraryLocations() const
void
DebuggerEngine
::
showQtDumperLibraryWarning
(
const
QString
&
details
)
{
//QMessageBox dialog(d->m_mainWindow); // FIXME
QMessageBox
dialog
;
QMessageBox
dialog
(
plugin
()
->
mainWindow
());
QPushButton
*
qtPref
=
dialog
.
addButton
(
tr
(
"Open Qt4 Options"
),
QMessageBox
::
ActionRole
);
QPushButton
*
helperOff
=
dialog
.
addButton
(
tr
(
"Turn off Helper Usage"
),
...
...
@@ -1056,7 +1055,7 @@ void DebuggerEngine::showQtDumperLibraryWarning(const QString &details)
void
DebuggerEngine
::
showQmlObserverToolWarning
()
{
QMessageBox
dialog
;
QMessageBox
dialog
(
plugin
()
->
mainWindow
())
;
QPushButton
*
qtPref
=
dialog
.
addButton
(
tr
(
"Open Qt4 Options"
),
QMessageBox
::
ActionRole
);
QPushButton
*
helperOff
=
dialog
.
addButton
(
tr
(
"Turn off QML Observer Usage"
),
...
...
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