diff --git a/src/Application.cpp b/src/Application.cpp index f65e11218..060b1c908 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -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*)), diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 8d80b14a5..117825c61 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -315,7 +315,7 @@ BookmarkHandler* MainWindow::bookmarkHandler() const return _bookmarkHandler; } -void MainWindow::setSessionList(ProfileList* list) +void MainWindow::setProfileList(ProfileList* list) { sessionListChanged(list->actions()); diff --git a/src/MainWindow.h b/src/MainWindow.h index b3dd2189b..d990ccd9f 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -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.