Commit b8daa7d5 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

collapse #ifdef branches

parent 8c4c5f2e
......@@ -1936,11 +1936,7 @@ void GdbEngine::handleBreakInsert(const GdbResponse &response)
const BreakpointData *data = handler->at(index);
// Note that it is perfectly correct that the file name is put
// in quotes but not escaped. GDB simply is like that.
#if defined(Q_OS_WIN)
QFileInfo fi(data->fileName);
QString where = _c('"') + fi.fileName() + _("\":")
+ data->lineNumber;
#elif defined(Q_OS_MAC)
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
QFileInfo fi(data->fileName);
QString where = _c('"') + fi.fileName() + _("\":")
+ data->lineNumber;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment