mirror of
https://github.com/KDE/konsole.git
synced 2026-05-01 11:15:29 -04:00
Move some code into MainWindow and make it internal stuff
That MainWindow uses ProfileList is an internal implementation detail. The Higher lever Application does not need to know about it.
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
#include <KWindowSystem>
|
||||
|
||||
// Konsole
|
||||
#include "ProfileList.h"
|
||||
#include "SessionManager.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Session.h"
|
||||
@@ -73,7 +72,6 @@ void Application::init()
|
||||
MainWindow* Application::newMainWindow()
|
||||
{
|
||||
MainWindow* window = new MainWindow();
|
||||
window->setProfileList(new ProfileList(true, window));
|
||||
|
||||
connect(window,
|
||||
SIGNAL(newSessionRequest(Profile::Ptr,QString,ViewManager*)),
|
||||
|
||||
Reference in New Issue
Block a user