diff options
| author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-30 20:43:02 +0200 |
|---|---|---|
| committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-30 20:43:02 +0200 |
| commit | a32e243e6168d0cf329390e74e547fc6b2cc0460 (patch) | |
| tree | 62b8955655cbaf0a58b18820ed440403e8fa91b1 /src/plugins/debugger/commonoptionspage.cpp | |
| parent | e6270852a3a29dfa0afb9ad00d93504d7460598a (diff) | |
| parent | 5fdb9f0df92e14c3ab92a0c34dfbbd0956131c2c (diff) | |
| download | qt-creator-a32e243e6168d0cf329390e74e547fc6b2cc0460.tar.gz | |
Merge branch '2.6'
Conflicts:
src/libs/utils/consoleprocess_unix.cpp
Change-Id: I196f61e882bfce94e165d9c724bffee9df1011b7
Diffstat (limited to 'src/plugins/debugger/commonoptionspage.cpp')
| -rw-r--r-- | src/plugins/debugger/commonoptionspage.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp index 1b94f7c22f..b207f56a1e 100644 --- a/src/plugins/debugger/commonoptionspage.cpp +++ b/src/plugins/debugger/commonoptionspage.cpp @@ -200,6 +200,24 @@ bool CommonOptionsPage::matches(const QString &s) const return m_searchKeywords.contains(s, Qt::CaseInsensitive); } +QString CommonOptionsPage::msgSetBreakpointAtFunction(const char *function) +{ + return tr("Stop when %1() is called").arg(QLatin1String(function)); +} + +QString CommonOptionsPage::msgSetBreakpointAtFunctionToolTip(const char *function, + const QString &hint) +{ + QString result = QLatin1String("<html><head/><body>"); + result += tr("Always add a breakpoint on the <i>%1()</i> function.").arg(QLatin1String(function)); + if (!hint.isEmpty()) { + result += QLatin1String("<br>"); + result += hint; + } + result += QLatin1String("</body></html>"); + return result; +} + /////////////////////////////////////////////////////////////////////// // // LocalsAndExpressionsOptionsPage |
