Remove unused signal
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -121,8 +121,6 @@ void RoomManager::openRoomForActiveConnection()
|
|||||||
if (room) {
|
if (room) {
|
||||||
enterRoom(room);
|
enterRoom(room);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
Q_EMIT pushWelcomePage();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user