diff options
author | Richard Linden <none@none> | 2013-11-12 11:42:06 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-11-12 11:42:06 -0800 |
commit | 6ddfc8031c73f342cf8459445a20cd50ceb3efba (patch) | |
tree | 4a209fa66ac39930c089a1477a1f4eb2542ad5bb /indra/newview | |
parent | b6688529877e9f3a46d251c64c002fbe8fd8cbb6 (diff) |
BUILDFIX - miscellaneous stuff missed in the merge
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfasttimerview.cpp | 11 | ||||
-rwxr-xr-x | indra/newview/llfasttimerview.h | 2 | ||||
-rwxr-xr-x | indra/newview/llfloaterimcontainer.cpp | 9 | ||||
-rwxr-xr-x | indra/newview/llpersistentnotificationstorage.cpp | 6 | ||||
-rw-r--r-- | indra/newview/llscenemonitor.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llscenemonitor.h | 2 | ||||
-rwxr-xr-x | indra/newview/llsceneview.cpp | 2 | ||||
-rwxr-xr-x | indra/newview/llsceneview.h | 2 | ||||
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 8 |
9 files changed, 19 insertions, 25 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index bc07519506..76c37439ab 100755 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -413,7 +413,7 @@ void LLFastTimerView::draw() mAllTimeMax = llmax(mAllTimeMax, mRecording.getLastRecording().getSum(FTM_FRAME)); mHoverID = NULL; mHoverBarIndex = -1; - } +} void LLFastTimerView::onOpen(const LLSD& key) { @@ -429,6 +429,10 @@ void LLFastTimerView::onOpen(const LLSD& key) } } +void LLFastTimerView::onClose(bool app_quitting) +{ + setVisible(FALSE); +} void saveChart(const std::string& label, const char* suffix, LLImageRaw* scratch) { @@ -936,10 +940,7 @@ void LLFastTimerView::doAnalysis(std::string baseline, std::string target, std:: return ; } } -void LLFastTimerView::onClickCloseBtn(bool) -{ - setVisible(false); -} + void LLFastTimerView::printLineStats() { diff --git a/indra/newview/llfasttimerview.h b/indra/newview/llfasttimerview.h index d7d87c8522..3e30bd86ba 100755 --- a/indra/newview/llfasttimerview.h +++ b/indra/newview/llfasttimerview.h @@ -62,10 +62,10 @@ public: virtual BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); virtual void draw(); virtual void onOpen(const LLSD& key); + virtual void onClose(bool app_quitting); LLTrace::BlockTimerStatHandle* getLegendID(S32 y); private: - virtual void onClickCloseBtn(bool app_quitting = false); void drawTicks(); void drawLineGraph(); void drawLegend(); diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 7bd449b8b6..12006a31ba 100755 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -2133,14 +2133,7 @@ BOOL LLFloaterIMContainer::isFrontmost() // This is intentional so it doesn't confuse the user. onClickCloseBtn() closes the whole floater. void LLFloaterIMContainer::onClickCloseBtn(bool app_quitting/* = false*/) { - // Always unminimize before trying to close. - // Most of the time the user will never see this state. - if(isMinimized()) - { - LLMultiFloater::setMinimized(FALSE); - } - - LLFloater::closeFloater(app_quitting); + LLMultiFloater::closeFloater(app_quitting); } void LLFloaterIMContainer::closeHostedFloater() diff --git a/indra/newview/llpersistentnotificationstorage.cpp b/indra/newview/llpersistentnotificationstorage.cpp index ea3cd9e78e..ce4b2d543b 100755 --- a/indra/newview/llpersistentnotificationstorage.cpp +++ b/indra/newview/llpersistentnotificationstorage.cpp @@ -79,9 +79,9 @@ void LLPersistentNotificationStorage::saveNotifications() data.append(notification->asLLSD(true)); if (data.size() >= gSavedSettings.getS32("MaxPersistentNotifications")) { - llwarns << "Too many persistent notifications." + LL_WARNS() << "Too many persistent notifications." << " Saved " << gSavedSettings.getS32("MaxPersistentNotifications") << " of " << history_channel->size() - << " persistent notifications." << llendl; + << " persistent notifications." << LL_ENDL; break; } @@ -147,7 +147,7 @@ void LLPersistentNotificationStorage::loadNotifications() if (processed_notifications >= gSavedSettings.getS32("MaxPersistentNotifications")) { llwarns << "Too many persistent notifications." - << " Processed " << gSavedSettings.getS32("MaxPersistentNotifications") << " of " << data.size() << " persistent notifications." << llendl; + << " Processed " << gSavedSettings.getS32("MaxPersistentNotifications") << " of " << data.size() << " persistent notifications." << LL_ENDL; break; } } diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp index 6c35ae2672..44ab35420b 100644 --- a/indra/newview/llscenemonitor.cpp +++ b/indra/newview/llscenemonitor.cpp @@ -699,7 +699,7 @@ LLSceneMonitorView::LLSceneMonitorView(const LLRect& rect) setCanClose(true); } -void LLSceneMonitorView::onClickCloseBtn() +void LLSceneMonitorView::onClose(bool app_quitting) { setVisible(false); } diff --git a/indra/newview/llscenemonitor.h b/indra/newview/llscenemonitor.h index c99ec1e824..e9ceb2aa2a 100644 --- a/indra/newview/llscenemonitor.h +++ b/indra/newview/llscenemonitor.h @@ -115,7 +115,7 @@ public: virtual void onVisibilityChange(BOOL visible); protected: - virtual void onClickCloseBtn(); + virtual void onClose(bool app_quitting=false); }; extern LLSceneMonitorView* gSceneMonitorView; diff --git a/indra/newview/llsceneview.cpp b/indra/newview/llsceneview.cpp index cbd8bee9d5..32f327b762 100755 --- a/indra/newview/llsceneview.cpp +++ b/indra/newview/llsceneview.cpp @@ -51,7 +51,7 @@ LLSceneView::LLSceneView(const LLRect& rect) setCanClose(true); } -void LLSceneView::onClickCloseBtn(bool) +void LLSceneView::onClose(bool) { setVisible(false); } diff --git a/indra/newview/llsceneview.h b/indra/newview/llsceneview.h index 1fceecb9e1..6d839bcf08 100755 --- a/indra/newview/llsceneview.h +++ b/indra/newview/llsceneview.h @@ -38,7 +38,7 @@ public: virtual void draw(); protected: - virtual void onClickCloseBtn(bool app_qutting = false); + virtual void onClose(bool app_qutting = false); }; diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index bccb0d46cf..3652e422c5 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -5517,10 +5517,10 @@ void LLVOAvatar::addChild(LLViewerObject *childp) { if (!attachObject(childp)) { - llwarns << "addChild() failed for " + LL_WARNS() << "addChild() failed for " << childp->getID() << " item " << childp->getAttachmentItemID() - << llendl; + << LL_ENDL; // MAINT-3312 backout // mPendingAttachment.push_back(childp); } @@ -5652,10 +5652,10 @@ void LLVOAvatar::lazyAttach() { if (!attachObject(cur_attachment)) { // Drop it - llwarns << "attachObject() failed for " + LL_WARNS() << "attachObject() failed for " << cur_attachment->getID() << " item " << cur_attachment->getAttachmentItemID() - << llendl; + << LL_ENDL; // MAINT-3312 backout //still_pending.push_back(cur_attachment); } |