forked from qt-creator/qt-creator
nicer visual session switching
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();
|
||||||
|
Reference in New Issue
Block a user