m_mainwindow = mainwindow;
}
+CoreImpl::~CoreImpl()
+{
+ m_instance = 0;
+}
+
QStringList CoreImpl::showNewItemDialog(const QString &title,
const QList<IWizard *> &wizards,
const QString &defaultLocation)
public:
CoreImpl(MainWindow *mainwindow);
- ~CoreImpl() {}
+ ~CoreImpl();
QStringList showNewItemDialog(const QString &title,
const QList<IWizard *> &wizards,
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