forked from qt-creator/qt-creator
Merge branch '1.1' of git@scm.dev.nokia.troll.no:creator/mainline into 1.1
This commit is contained in:
@@ -1538,6 +1538,7 @@ QByteArray EditorManager::saveState() const
|
|||||||
bool EditorManager::restoreState(const QByteArray &state)
|
bool EditorManager::restoreState(const QByteArray &state)
|
||||||
{
|
{
|
||||||
closeAllEditors(true);
|
closeAllEditors(true);
|
||||||
|
removeAllSplits();
|
||||||
QDataStream stream(state);
|
QDataStream stream(state);
|
||||||
|
|
||||||
QByteArray version;
|
QByteArray version;
|
||||||
|
@@ -208,6 +208,8 @@ private slots:
|
|||||||
void goBackInNavigationHistory();
|
void goBackInNavigationHistory();
|
||||||
void goForwardInNavigationHistory();
|
void goForwardInNavigationHistory();
|
||||||
void makeCurrentEditorWritable();
|
void makeCurrentEditorWritable();
|
||||||
|
|
||||||
|
public slots:
|
||||||
void split(Qt::Orientation orientation);
|
void split(Qt::Orientation orientation);
|
||||||
void split();
|
void split();
|
||||||
void splitSideBySide();
|
void splitSideBySide();
|
||||||
|
@@ -346,14 +346,15 @@ bool ProFileEvaluator::Private::parseLine(const QString &line0)
|
|||||||
m_contNextLine = escaped;
|
m_contNextLine = escaped;
|
||||||
if (escaped) {
|
if (escaped) {
|
||||||
m_proitem.chop(1);
|
m_proitem.chop(1);
|
||||||
|
updateItem();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
if (!m_syntaxError) {
|
if (!m_syntaxError) {
|
||||||
updateItem();
|
updateItem();
|
||||||
if (!m_contNextLine)
|
finalizeBlock();
|
||||||
finalizeBlock();
|
return true;
|
||||||
}
|
}
|
||||||
return !m_syntaxError;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user