Commit b23aa108 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: cosmetics

Change-Id: I64f28d8e665a39b5942c6e09151d368571006220
Reviewed-on: http://codereview.qt.nokia.com/857

Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 8d567174
...@@ -619,7 +619,8 @@ public slots: ...@@ -619,7 +619,8 @@ public slots:
{ {
const QAction *action = qobject_cast<const QAction *>(sender()); const QAction *action = qobject_cast<const QAction *>(sender());
QTC_ASSERT(action, return); QTC_ASSERT(action, return);
const BreakpointMenuContextData data = action->data().value<BreakpointMenuContextData>(); const BreakpointMenuContextData data =
action->data().value<BreakpointMenuContextData>();
QString message; QString message;
if (data.mode == BreakpointMenuContextData::MessageTracePoint) { if (data.mode == BreakpointMenuContextData::MessageTracePoint) {
if (data.address) { if (data.address) {
...@@ -633,7 +634,7 @@ public slots: ...@@ -633,7 +634,7 @@ public slots:
} }
QInputDialog dialog; // Create wide input dialog. QInputDialog dialog; // Create wide input dialog.
dialog.setWindowFlags(dialog.windowFlags() dialog.setWindowFlags(dialog.windowFlags()
& ~(Qt::WindowContextHelpButtonHint|Qt::MSWindowsFixedSizeDialogHint)); & ~(Qt::WindowContextHelpButtonHint|Qt::MSWindowsFixedSizeDialogHint));
dialog.resize(600, dialog.height()); dialog.resize(600, dialog.height());
dialog.setWindowTitle(tr("Add Message Tracepoint")); dialog.setWindowTitle(tr("Add Message Tracepoint"));
dialog.setLabelText (tr("Message:")); dialog.setLabelText (tr("Message:"));
......
Markdown is supported
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