aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewnotecard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpreviewnotecard.cpp')
-rw-r--r--linden/indra/newview/llpreviewnotecard.cpp5
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}