forked from qt-creator/qt-creator
Fix Qt4 compilation
Change-Id: I1789ec51aba4a832a67bba1c549473d413c77543 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
committed by
Christian Stenger
parent
590ccce734
commit
c6d285544f
@@ -363,7 +363,7 @@ bool AttachCoreDialog::useLocalCoreFile() const
|
|||||||
|
|
||||||
void AttachCoreDialog::coreFileChanged(const QString &core)
|
void AttachCoreDialog::coreFileChanged(const QString &core)
|
||||||
{
|
{
|
||||||
if (!Utils::HostOsInfo::isWindowsHost() && QFileInfo::exists(core)) {
|
if (!Utils::HostOsInfo::isWindowsHost() && QFile::exists(core)) {
|
||||||
Kit *k = d->kitChooser->currentKit();
|
Kit *k = d->kitChooser->currentKit();
|
||||||
QTC_ASSERT(k, return);
|
QTC_ASSERT(k, return);
|
||||||
FileName cmd = DebuggerKitInformation::debuggerCommand(k);
|
FileName cmd = DebuggerKitInformation::debuggerCommand(k);
|
||||||
|
|||||||
Reference in New Issue
Block a user