mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-31 09:43:25 -05:00
* added qmovie for InDirectoryCheck
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
449674be3f
commit
2c69866a79
@ -161,15 +161,15 @@ void SharedFilesDialog::checkUpdate()
|
|||||||
/* update */
|
/* update */
|
||||||
if (rsFiles->InDirectoryCheck())
|
if (rsFiles->InDirectoryCheck())
|
||||||
{
|
{
|
||||||
ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_BUSY));
|
//ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_BUSY));
|
||||||
/*QMovie *movie = new QMovie(IMAGE_PROGRESS);
|
QMovie *movie = new QMovie(":/images/loader/16-loader.gif");
|
||||||
ui.hashLabel->setMovie(movie);
|
ui.hashLabel->setMovie(movie);
|
||||||
movie->start();*/
|
movie->start();
|
||||||
|
movie->setSpeed(100); // 2x speed
|
||||||
// ui.hashLabel->setToolTip(QString::fromStdString(rsFiles->currentJobInfo())) ;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
//movie->stop();
|
||||||
ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_DONE));
|
ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_DONE));
|
||||||
ui.hashLabel->setToolTip("") ;
|
ui.hashLabel->setToolTip("") ;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************
|
/****************************************************************
|
||||||
* RShare is distributed under the following license:
|
* RetroShare is distributed under the following license:
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006, crypton
|
* Copyright (C) 2006-2009, RetroShare Team
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
@ -23,6 +23,7 @@
|
|||||||
#define _SHAREDFILESDIALOG_H
|
#define _SHAREDFILESDIALOG_H
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
|
#include <QMovie>
|
||||||
|
|
||||||
//#include <config/rsharesettings.h>
|
//#include <config/rsharesettings.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user