mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor: remove unused signal
This commit is contained in:
parent
38729e18e8
commit
93fa1e712b
|
@ -48,7 +48,6 @@ GUI::GUI(QObject* parent)
|
|||
{
|
||||
assert(QThread::currentThread() == qApp->thread());
|
||||
assert(Nexus::getDesktopGUI());
|
||||
connect(Nexus::getDesktopGUI(), &Widget::resized, this, &GUI::resized);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -52,9 +52,6 @@ public:
|
|||
|
||||
static QString passwordDialog(const QString& cancel, const QString& body);
|
||||
|
||||
signals:
|
||||
void resized();
|
||||
|
||||
private:
|
||||
explicit GUI(QObject* parent = 0);
|
||||
|
||||
|
|
|
@ -584,10 +584,8 @@ void Widget::changeEvent(QEvent* event)
|
|||
|
||||
void Widget::resizeEvent(QResizeEvent* event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
saveWindowGeometry();
|
||||
|
||||
emit resized();
|
||||
QMainWindow::resizeEvent(event);
|
||||
}
|
||||
|
||||
QString Widget::getUsername()
|
||||
|
|
Loading…
Reference in New Issue
Block a user