Skip to content
Snippets Groups Projects
Verified Commit 3c208cd7 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Remove unused funtion

parent b706e272
No related branches found
No related tags found
No related merge requests found
Pipeline #2550 passed
......@@ -9,7 +9,6 @@
#include <QDesktopServices>
#include <QStyle>
#include <QUrl>
#include <QWindow>
#include "Cache_p.h"
#include "ChatPage.h"
......@@ -135,9 +134,3 @@ Nheko::openCreateRoomDialog() const
MainWindow::instance()->openCreateRoomDialog(
[](const mtx::requests::CreateRoom &req) { ChatPage::instance()->createRoom(req); });
}
void
Nheko::reparent(QWindow *win) const
{
win->setTransientParent(MainWindow::instance());
}
......@@ -12,8 +12,6 @@
#include "Theme.h"
#include "UserProfile.h"
class QWindow;
class Nheko : public QObject
{
Q_OBJECT
......@@ -55,7 +53,6 @@ public:
Q_INVOKABLE void showUserSettingsPage() const;
Q_INVOKABLE void logout() const;
Q_INVOKABLE void openCreateRoomDialog() const;
Q_INVOKABLE void reparent(QWindow *win) const;
public slots:
void updateUserProfile();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment