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
289d6f85
Commit
289d6f85
authored
Jun 04, 2009
by
Oswald Buddenhagen
Browse files
nicer
parent
ffb0fe65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
289d6f85
...
...
@@ -1494,8 +1494,7 @@ bool GdbEngine::startDebugger(const QSharedPointer<DebuggerStartParameters> &sp)
QString
scriptFileName
=
theDebuggerStringSetting
(
GdbScriptFile
);
if
(
!
scriptFileName
.
isEmpty
())
{
QFile
scriptFile
(
scriptFileName
);
if
(
scriptFile
.
open
(
QIODevice
::
ReadOnly
))
{
if
(
QFileInfo
(
scriptFileName
).
isReadable
())
{
postCommand
(
_
(
"source "
)
+
scriptFileName
);
}
else
{
QMessageBox
::
warning
(
q
->
mainWindow
(),
...
...
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