From 34e596641a044da4de69f1e9c42bd3d5618d61b4 Mon Sep 17 00:00:00 2001 From: Bill Winslow Date: Fri, 11 Jul 2014 13:14:56 -0400 Subject: [PATCH] Fixed bug the first (still needs everything tested though) --- widget/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/widget.cpp b/widget/widget.cpp index a27f8be97..e83395984 100644 --- a/widget/widget.cpp +++ b/widget/widget.cpp @@ -215,8 +215,8 @@ Widget::Widget(QWidget *parent) : connect(core, &Core::usernameSet, this, &Widget::setUsername); connect(core, &Core::statusMessageSet, this, &Widget::setStatusMessage); connect(core, &Core::friendAddressGenerated, &settingsForm, &SettingsForm::setFriendAddress); - connect(core, SIGNAL(Core::fileDownloadFinished(QString&)), &filesForm, SLOT(FilesForm::onFileDownloadComplete(QString&))); - connect(core, SIGNAL(Core::fileUploadFinished(QString&)), &filesForm, SLOT(FilesForm::onFileUploadComplete(QString&))); + connect(core, SIGNAL(fileDownloadFinished(const QString&)), &filesForm, SLOT(onFileDownloadComplete(const QString&))); + connect(core, SIGNAL(fileUploadFinished(const QString&)), &filesForm, SLOT(onFileUploadComplete(const QString&))); connect(core, &Core::friendAdded, this, &Widget::addFriend); connect(core, &Core::failedToAddFriend, this, &Widget::addFriendFailed); connect(core, &Core::friendStatusChanged, this, &Widget::onFriendStatusChanged);