Remove unused signal

This commit is contained in:
Tobias Fella
2023-04-11 15:31:40 +02:00
parent 05bcbb695f
commit 280c9327cb
3 changed files with 0 additions and 9 deletions

View File

@@ -99,10 +99,6 @@ Kirigami.ApplicationWindow {
roomItem.forceActiveFocus(); roomItem.forceActiveFocus();
} }
function onPushWelcomePage() {
// TODO
}
function onOpenRoomInNewWindow(room) { function onOpenRoomInNewWindow(room) {
const secondaryWindow = roomWindow.createObject(undefined, {currentRoom: room}); const secondaryWindow = roomWindow.createObject(undefined, {currentRoom: room});
secondaryWindow.width = root.width - pageStack.get(0).width; secondaryWindow.width = root.width - pageStack.get(0).width;

View File

@@ -121,8 +121,6 @@ void RoomManager::openRoomForActiveConnection()
if (room) { if (room) {
enterRoom(room); enterRoom(room);
} }
} else {
Q_EMIT pushWelcomePage();
} }
} }

View File

@@ -91,9 +91,6 @@ Q_SIGNALS:
/// Go to the specified event in the current room. /// Go to the specified event in the current room.
void goToEvent(const QString &event); void goToEvent(const QString &event);
/// Signal triggered when the pageStack should push a welcome page.
void pushWelcomePage();
/// Signal triggered when a room need to be opened in a new window. /// Signal triggered when a room need to be opened in a new window.
void openRoomInNewWindow(NeoChatRoom *room); void openRoomInNewWindow(NeoChatRoom *room);