mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
c5cebce587
commit
2f8d21ab76
@ -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;
|
||||||
|
@ -430,7 +430,7 @@ void QuickStartWizard::saveChanges()
|
|||||||
{
|
{
|
||||||
QString str;
|
QString str;
|
||||||
|
|
||||||
bool saveAddr = false;
|
//bool saveAddr = false;
|
||||||
|
|
||||||
|
|
||||||
RsPeerDetails detail;
|
RsPeerDetails detail;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -75,8 +75,7 @@ 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!!
|
||||||
|
Loading…
Reference in New Issue
Block a user