@@ -43,7 +43,7 @@ KsMainWindow::KsMainWindow(QWidget *parent)
_capture(this),
_captureLocalServer(this),
_openAction("Open", this),
- _restorSessionAction("Restore Last Session", this),
+ _restoreSessionAction("Restore Last Session", this),
_importSessionAction("Import Session", this),
_exportSessionAction("Export Sassion", this),
_quitAction("Quit", this),
@@ -167,9 +167,9 @@ void KsMainWindow::_createActions()
connect(&_openAction, &QAction::triggered,
this, &KsMainWindow::_open);
- _restorSessionAction.setIcon(QIcon::fromTheme("document-open-recent"));
- connect(&_restorSessionAction, &QAction::triggered,
- this, &KsMainWindow::_restorSession);
+ _restoreSessionAction.setIcon(QIcon::fromTheme("document-open-recent"));
+ connect(&_restoreSessionAction, &QAction::triggered,
+ this, &KsMainWindow::_restoreSession);
_importSessionAction.setIcon(QIcon::fromTheme("document-send"));
_importSessionAction.setStatusTip("Load a session");
@@ -291,7 +291,7 @@ void KsMainWindow::_createMenus()
sessions = file->addMenu("Sessions");
sessions->setIcon(QIcon::fromTheme("document-properties"));
- sessions->addAction(&_restorSessionAction);
+ sessions->addAction(&_restoreSessionAction);
sessions->addAction(&_importSessionAction);
sessions->addAction(&_exportSessionAction);
file->addAction(&_quitAction);
@@ -377,7 +377,7 @@ QString KsMainWindow::lastSessionFile()
return QString(file) + "/lastsession.json";
}
-void KsMainWindow::_restorSession()
+void KsMainWindow::_restoreSession()
{
loadSession(lastSessionFile());
_graph.updateGeom();
@@ -99,7 +99,7 @@ private:
// File menu.
QAction _openAction;
- QAction _restorSessionAction;
+ QAction _restoreSessionAction;
QAction _importSessionAction;
@@ -155,7 +155,7 @@ private:
void _open();
- void _restorSession();
+ void _restoreSession();
void _importSession();
_restorSession* -> _restoreSession* ^ Suggested-by: Slavomir Kaslev <kaslevs@vmware.com> Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> --- kernel-shark/src/KsMainWindow.cpp | 12 ++++++------ kernel-shark/src/KsMainWindow.hpp | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)