From e0a6e07bb31229a8d7277e8d7bdfffccdb35ed3e Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Mon, 28 May 2012 14:51:03 -0400 Subject: [PATCH] Minor cleanup, no functional change. --- .../debugger/user_interface/gui/team_window/TeamWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp index e52718472e..bb8ca25c42 100644 --- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp @@ -1075,10 +1075,9 @@ TeamWindow::_UpdateSourcePathState() } if (!truncatedText.IsEmpty() && truncatedText != sourceText) { - fSourcePathView->SetToolTip(sourceText.String()); + fSourcePathView->SetToolTip(sourceText); fSourcePathView->SetText(truncatedText); - } - else + } else fSourcePathView->SetText(sourceText); }