1
0
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:
Nils Fenner 2016-08-07 06:36:53 +02:00 committed by Diadlo
parent 38729e18e8
commit 93fa1e712b
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
3 changed files with 1 additions and 7 deletions

View File

@ -48,7 +48,6 @@ GUI::GUI(QObject* parent)
{
assert(QThread::currentThread() == qApp->thread());
assert(Nexus::getDesktopGUI());
connect(Nexus::getDesktopGUI(), &Widget::resized, this, &GUI::resized);
}
/**

View File

@ -52,9 +52,6 @@ public:
static QString passwordDialog(const QString& cancel, const QString& body);
signals:
void resized();
private:
explicit GUI(QObject* parent = 0);

View File

@ -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()