mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 23:02:29 -04:00
Some more changes for utf8 in Windows.
Changes in RetroShareLink and drag'n'drop of files. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fff12a58c6
commit
5277ca61e2
6 changed files with 106 additions and 107 deletions
|
@ -169,7 +169,7 @@ void AttachFileItem::updateItemStatic()
|
|||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
QString filename = QString::fromStdString(mFileName);
|
||||
QString filename = QString::fromUtf8(mFileName.c_str());
|
||||
mDivisor = 1;
|
||||
|
||||
if (mFileSize > 10000000) /* 10 Mb */
|
||||
|
@ -239,7 +239,7 @@ void AttachFileItem::updateItemStatic()
|
|||
break;
|
||||
|
||||
case AFI_STATE_EXTRA:
|
||||
filename = QString::fromStdString(mPath);
|
||||
filename = QString::fromUtf8(mPath.c_str());
|
||||
|
||||
progressBar->setRange(0, 100);
|
||||
progressBar->setFormat("HASHING");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue