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

Rename for clarity

parent 117a3b29
......@@ -75,7 +75,7 @@ void Application::init()
MainWindow* Application::newMainWindow()
{
MainWindow* window = new MainWindow();
window->setSessionList(new ProfileList(true, window));
window->setProfileList(new ProfileList(true, window));
connect(window,
SIGNAL(newSessionRequest(Profile::Ptr,QString,ViewManager*)),
......
......@@ -315,7 +315,7 @@ BookmarkHandler* MainWindow::bookmarkHandler() const
return _bookmarkHandler;
}
void MainWindow::setSessionList(ProfileList* list)
void MainWindow::setProfileList(ProfileList* list)
{
sessionListChanged(list->actions());
......
......@@ -79,8 +79,8 @@ public:
*/
IncrementalSearchBar* searchBar() const;
/** Sets the list of sessions to be displayed in the File menu */
void setSessionList(ProfileList* list);
/** Sets the list of profiles to be displayed in the File menu */
void setProfileList(ProfileList* list);
/**
* 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