diff --git a/retroshare-gui/src/gui/DLListDelegate.cpp b/retroshare-gui/src/gui/DLListDelegate.cpp index 63f79bb71..c2bf7cce8 100644 --- a/retroshare-gui/src/gui/DLListDelegate.cpp +++ b/retroshare-gui/src/gui/DLListDelegate.cpp @@ -48,7 +48,7 @@ void DLListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti QRect pixmapRect; QPixmap pixmap; qlonglong fileSize; - double progress, dlspeed, multi; + double dlspeed, multi; int seconds,minutes, hours, days; qlonglong remaining; QString temp , status; diff --git a/retroshare-gui/src/gui/QuickStartWizard.cpp b/retroshare-gui/src/gui/QuickStartWizard.cpp index f864403f6..5f80e1f91 100644 --- a/retroshare-gui/src/gui/QuickStartWizard.cpp +++ b/retroshare-gui/src/gui/QuickStartWizard.cpp @@ -430,7 +430,7 @@ void QuickStartWizard::saveChanges() { QString str; - bool saveAddr = false; + //bool saveAddr = false; RsPeerDetails detail; diff --git a/retroshare-gui/src/gui/ULListDelegate.cpp b/retroshare-gui/src/gui/ULListDelegate.cpp index e5134a3df..e6c133d40 100644 --- a/retroshare-gui/src/gui/ULListDelegate.cpp +++ b/retroshare-gui/src/gui/ULListDelegate.cpp @@ -49,7 +49,7 @@ void ULListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti QRect pixmapRect; QPixmap pixmap; qlonglong fileSize; - double progress, ulspeed, multi; + double ulspeed, multi; QString temp , status; qlonglong transferred; diff --git a/retroshare-gui/src/gui/channels/CreateChannel.cpp b/retroshare-gui/src/gui/channels/CreateChannel.cpp index 91a27b500..40f00b2e7 100644 --- a/retroshare-gui/src/gui/channels/CreateChannel.cpp +++ b/retroshare-gui/src/gui/channels/CreateChannel.cpp @@ -75,10 +75,9 @@ void CreateChannel::createChannel() if(name.isEmpty()) { /* error message */ - int ret = QMessageBox::warning(this, tr("RetroShare"), - tr("Please add a Name"), - QMessageBox::Ok, QMessageBox::Ok); - + QMessageBox::warning(this, tr("RetroShare"),tr("Please add a Name"), + QMessageBox::Ok, QMessageBox::Ok); + return; //Don't add a empty name!! } else