diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/newview/llpreviewnotecard.cpp | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/newview/llpreviewnotecard.cpp')
-rw-r--r-- | linden/indra/newview/llpreviewnotecard.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llpreviewnotecard.cpp b/linden/indra/newview/llpreviewnotecard.cpp index 620be8f..dc56494 100644 --- a/linden/indra/newview/llpreviewnotecard.cpp +++ b/linden/indra/newview/llpreviewnotecard.cpp | |||
@@ -55,7 +55,8 @@ | |||
55 | #include "lldir.h" | 55 | #include "lldir.h" |
56 | //#include "llfloaterchat.h" | 56 | //#include "llfloaterchat.h" |
57 | #include "llviewerstats.h" | 57 | #include "llviewerstats.h" |
58 | #include "viewer.h" // app_abort_quit() | 58 | #include "llviewercontrol.h" // gSavedSettings |
59 | #include "llappviewer.h" // app_abort_quit() | ||
59 | #include "lllineeditor.h" | 60 | #include "lllineeditor.h" |
60 | #include "llvieweruictrlfactory.h" | 61 | #include "llvieweruictrlfactory.h" |
61 | 62 | ||
@@ -636,7 +637,7 @@ void LLPreviewNotecard::handleSaveChangesDialog(S32 option, void* userdata) | |||
636 | case 2: // "Cancel" | 637 | case 2: // "Cancel" |
637 | default: | 638 | default: |
638 | // If we were quitting, we didn't really mean it. | 639 | // If we were quitting, we didn't really mean it. |
639 | app_abort_quit(); | 640 | LLAppViewer::instance()->abortQuit(); |
640 | break; | 641 | break; |
641 | } | 642 | } |
642 | } | 643 | } |