Commit 39a857b0 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Rename for clarity

parent 117a3b29
...@@ -75,7 +75,7 @@ void Application::init() ...@@ -75,7 +75,7 @@ void Application::init()
MainWindow* Application::newMainWindow() MainWindow* Application::newMainWindow()
{ {
MainWindow* window = new MainWindow(); MainWindow* window = new MainWindow();
window->setSessionList(new ProfileList(true, window)); window->setProfileList(new ProfileList(true, window));
connect(window, connect(window,
SIGNAL(newSessionRequest(Profile::Ptr,QString,ViewManager*)), SIGNAL(newSessionRequest(Profile::Ptr,QString,ViewManager*)),
......
...@@ -315,7 +315,7 @@ BookmarkHandler* MainWindow::bookmarkHandler() const ...@@ -315,7 +315,7 @@ BookmarkHandler* MainWindow::bookmarkHandler() const
return _bookmarkHandler; return _bookmarkHandler;
} }
void MainWindow::setSessionList(ProfileList* list) void MainWindow::setProfileList(ProfileList* list)
{ {
sessionListChanged(list->actions()); sessionListChanged(list->actions());
......
...@@ -79,8 +79,8 @@ public: ...@@ -79,8 +79,8 @@ public:
*/ */
IncrementalSearchBar* searchBar() const; IncrementalSearchBar* searchBar() const;
/** Sets the list of sessions to be displayed in the File menu */ /** Sets the list of profiles to be displayed in the File menu */
void setSessionList(ProfileList* list); void setProfileList(ProfileList* list);
/** /**
* Returns the bookmark handler associated with this window. * Returns the bookmark handler associated with this window.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment