texteditor: remove traces of TEXTEDITOR_STANDALONE

This commit is contained in:
hjk
2010-02-04 10:33:12 +01:00
parent 25e04d8ef1
commit 3251309ada
3 changed files with 9 additions and 23 deletions

View File

@@ -39,12 +39,10 @@
#include <QtGui/QSyntaxHighlighter>
#include <QtGui/QApplication>
#ifndef TEXTEDITOR_STANDALONE
#include <utils/reloadpromptutils.h>
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>
#endif
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <utils/reloadpromptutils.h>
using namespace TextEditor;
@@ -271,8 +269,6 @@ void BaseTextDocument::modified(Core::IFile::ReloadBehavior *behavior)
break;
}
#ifndef TEXTEDITOR_STANDALONE
switch (Utils::reloadPrompt(m_fileName, isModified(), QApplication::activeWindow())) {
case Utils::ReloadCurrent:
reload();
@@ -287,7 +283,6 @@ void BaseTextDocument::modified(Core::IFile::ReloadBehavior *behavior)
*behavior = Core::IFile::ReloadNone;
break;
}
#endif
}
void BaseTextDocument::setSyntaxHighlighter(QSyntaxHighlighter *highlighter)