Changeset View
Changeset View
Standalone View
Standalone View
step/mainwindow.cc
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 67 | { | |||
---|---|---|---|---|---|
122 | setupGUI(); | 122 | setupGUI(); | ||
123 | statusBar()->show(); | 123 | statusBar()->show(); | ||
124 | 124 | | |||
125 | newFile(); | 125 | newFile(); | ||
126 | } | 126 | } | ||
127 | 127 | | |||
128 | MainWindow::~MainWindow() | 128 | MainWindow::~MainWindow() | ||
129 | { | 129 | { | ||
130 | disconnect(worldModel->undoStack(), &QUndoStack::cleanChanged, this, &MainWindow::updateCaption); | ||||
131 | | ||||
130 | KConfig* config = new KConfig(QStringLiteral("steprc")); | 132 | KConfig* config = new KConfig(QStringLiteral("steprc")); | ||
131 | actionRecentFiles->saveEntries(config->group("RecentFiles")); | 133 | actionRecentFiles->saveEntries(config->group("RecentFiles")); | ||
132 | delete config; | 134 | delete config; | ||
133 | } | 135 | } | ||
134 | 136 | | |||
135 | void MainWindow::setupActions() | 137 | void MainWindow::setupActions() | ||
136 | { | 138 | { | ||
137 | /* File menu */ | 139 | /* File menu */ | ||
▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines |