diff --git a/src/add-ons/tracker/iconvader/IconVader.cpp b/src/add-ons/tracker/iconvader/IconVader.cpp index d96b9d9d6c..c1bac3d0a6 100644 --- a/src/add-ons/tracker/iconvader/IconVader.cpp +++ b/src/add-ons/tracker/iconvader/IconVader.cpp @@ -80,8 +80,8 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) - //alert = new BAlert("Error", "Plop", "Ok"); - //alert->Go(); + alert = new BAlert("Error", "IconVader:\nClick on the icons to get points. Avoid symlinks!", "Ok"); + alert->Go(); int32 score = 0; @@ -122,6 +122,11 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) snooze(100000); } + BString scoreStr("You scored "); + scoreStr << score << " points!"; + alert = new BAlert("Error", scoreStr.String(), "Cool!"); + alert->Go(); + status = B_ERROR; if (!msgr.LockTarget()) {