mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-24 06:11:11 -05:00
Fixed umlauts (utf8) in DirectoriesPage in Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
627b0ca54a
commit
374d1820b4
@ -127,14 +127,14 @@ void DirectoriesPage::load()
|
||||
for(it = dirs.begin(); it != dirs.end(); it++)
|
||||
{
|
||||
/* (0) Dir Name */
|
||||
listWidget->addItem(QString::fromStdString((*it).filename));
|
||||
listWidget->addItem(QString::fromUtf8((*it).filename.c_str()));
|
||||
}
|
||||
|
||||
/* set saved index */
|
||||
listWidget->setCurrentIndex(rootIndex);
|
||||
|
||||
ui.incomingDir->setText(QString::fromStdString(rsFiles->getDownloadDirectory()));
|
||||
ui.partialsDir->setText(QString::fromStdString(rsFiles->getPartialsDirectory()));
|
||||
ui.incomingDir->setText(QString::fromUtf8(rsFiles->getDownloadDirectory().c_str()));
|
||||
ui.partialsDir->setText(QString::fromUtf8(rsFiles->getPartialsDirectory().c_str()));
|
||||
|
||||
listWidget->update(); /* update display */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user