clean up some compile warnings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-10 20:38:59 +00:00
parent c5cebce587
commit 2f8d21ab76
4 changed files with 6 additions and 7 deletions

View File

@ -48,7 +48,7 @@ void DLListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti
QRect pixmapRect; QRect pixmapRect;
QPixmap pixmap; QPixmap pixmap;
qlonglong fileSize; qlonglong fileSize;
double progress, dlspeed, multi; double dlspeed, multi;
int seconds,minutes, hours, days; int seconds,minutes, hours, days;
qlonglong remaining; qlonglong remaining;
QString temp , status; QString temp , status;

View File

@ -430,7 +430,7 @@ void QuickStartWizard::saveChanges()
{ {
QString str; QString str;
bool saveAddr = false; //bool saveAddr = false;
RsPeerDetails detail; RsPeerDetails detail;

View File

@ -49,7 +49,7 @@ void ULListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti
QRect pixmapRect; QRect pixmapRect;
QPixmap pixmap; QPixmap pixmap;
qlonglong fileSize; qlonglong fileSize;
double progress, ulspeed, multi; double ulspeed, multi;
QString temp , status; QString temp , status;
qlonglong transferred; qlonglong transferred;

View File

@ -75,9 +75,8 @@ void CreateChannel::createChannel()
if(name.isEmpty()) if(name.isEmpty())
{ /* error message */ { /* error message */
int ret = QMessageBox::warning(this, tr("RetroShare"), QMessageBox::warning(this, tr("RetroShare"),tr("Please add a Name"),
tr("Please add a Name"), QMessageBox::Ok, QMessageBox::Ok);
QMessageBox::Ok, QMessageBox::Ok);
return; //Don't add a empty name!! return; //Don't add a empty name!!
} }