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
72c74b7d
Commit
72c74b7d
authored
Jun 08, 2010
by
Leandro Melo
Browse files
Bug fix: Late crash when closing Creator while building debugging helper (QTCREATORBUG-1576).
Reviewed-by: hjk
parent
fa382022
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/coreimpl.cpp
View file @
72c74b7d
...
...
@@ -61,6 +61,11 @@ CoreImpl::CoreImpl(MainWindow *mainwindow)
m_mainwindow
=
mainwindow
;
}
CoreImpl
::~
CoreImpl
()
{
m_instance
=
0
;
}
QStringList
CoreImpl
::
showNewItemDialog
(
const
QString
&
title
,
const
QList
<
IWizard
*>
&
wizards
,
const
QString
&
defaultLocation
)
...
...
src/plugins/coreplugin/coreimpl.h
View file @
72c74b7d
...
...
@@ -42,7 +42,7 @@ class CoreImpl : public ICore
public:
CoreImpl
(
MainWindow
*
mainwindow
);
~
CoreImpl
()
{}
~
CoreImpl
()
;
QStringList
showNewItemDialog
(
const
QString
&
title
,
const
QList
<
IWizard
*>
&
wizards
,
...
...
src/plugins/projectexplorer/debugginghelper.cpp
View file @
72c74b7d
...
...
@@ -113,6 +113,8 @@ QStringList DebuggingHelperLibrary::debuggingHelperLibraryLocationsByInstallData
QString
DebuggingHelperLibrary
::
debuggingHelperLibraryByInstallData
(
const
QString
&
qtInstallData
)
{
if
(
!
Core
::
ICore
::
instance
())
return
QString
();
const
QString
dumperSourcePath
=
Core
::
ICore
::
instance
()
->
resourcePath
()
+
QLatin1String
(
"/gdbmacros/"
);
QDateTime
lastModified
=
QFileInfo
(
dumperSourcePath
+
"gdbmacros.cpp"
).
lastModified
();
// We pretend that the lastmodified of gdbmacros.cpp is 5 minutes before what the file system says
...
...
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