diff options
author | hjk <[email protected]> | 2020-04-14 09:54:08 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2020-04-14 12:30:32 +0000 |
commit | 37b079a19ccda8eb4443214d524798ae080623b2 (patch) | |
tree | b33d9a8cd489a7e76ff65c06b1759c79d7a0244a /src/plugins/debugger/breakhandler.cpp | |
parent | d5e09223bf431f787741a33747025c356a5b9560 (diff) |
Debugger: Some FileName cosmetics
Use {from,to}Variant for settings, and one time fromUserInput is enough.
Change-Id: I5774f425a4c775b0d78b87c60eabf7f48d78a082
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index e0aecca42c9..023d0120cc9 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -665,7 +665,7 @@ void BreakpointDialog::getParts(unsigned partsMask, BreakpointParameters *data) if (partsMask & FileAndLinePart) { data->lineNumber = m_lineEditLineNumber->text().toInt(); data->pathUsage = static_cast<BreakpointPathUsage>(m_comboBoxPathUsage->currentIndex()); - data->fileName = FilePath::fromUserInput(m_pathChooserFileName->filePath().toString()); + data->fileName = m_pathChooserFileName->filePath(); } if (partsMask & FunctionPart) data->functionName = m_lineEditFunction->text(); |