summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-02-03 23:51:02 +0200
committerOrgad Shaneh <orgads@gmail.com>2015-02-04 13:21:40 +0000
commit3f1fd49c71ebb3bcfa4914d35d801ebd98eb72cd (patch)
tree644d416ffab9506b8ac9800e0a054aef06e943a8 /src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
parentb197566eecab7c2f975bf56b849337de96a9a2d0 (diff)
downloadqt-creator-3f1fd49c71ebb3bcfa4914d35d801ebd98eb72cd.tar.gz
RemoteLinux: Remove unneeded qualifications
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: Id48e46fdfed83b82071551f4375fab3310ed1f6e Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index 8f843d8b38..b49cc9bc94 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -104,7 +104,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
}
DebuggerStartParameters params = LinuxDeviceDebugSupport::startParameters(rc);
- if (mode == ProjectExplorer::DebugRunModeWithBreakOnMain)
+ if (mode == DebugRunModeWithBreakOnMain)
params.breakOnMain = true;
DebuggerRunControl * const runControl
= DebuggerRunControlFactory::doCreate(params, rc, errorMessage);