Removed the max length from the ip fields in ProfileWidget to display all 15 digits.

Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-04-03 19:35:11 +00:00
parent 2cd1df7484
commit af48bb9555
4 changed files with 46 additions and 35 deletions

View file

@ -496,9 +496,6 @@ p, li { white-space: pre-wrap; }
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxLength">
<number>14</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
@ -574,9 +571,6 @@ p, li { white-space: pre-wrap; }
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxLength">
<number>14</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>

View file

@ -49,7 +49,7 @@ DirectoriesPage::DirectoriesPage(QWidget * parent, Qt::WFlags flags)
void DirectoriesPage::clearHashCache()
{
if(QMessageBox::question(this,"Cache cleaning confirmation","The will forget any former hash of non shared files. Do you confirm ?", QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes)
if(QMessageBox::question(this, tr("Cache cleaning confirmation"), tr("This will forget any former hash of non shared files. Do you confirm ?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes)
rsFiles->clearHashCache() ;
}
@ -66,7 +66,7 @@ void DirectoriesPage::editDirectories()
void DirectoriesPage::clickedRememberHashes(bool b)
{
if (!b) {
if (QMessageBox::question(this,"Cache cleaning confirmation","The will forget any former hash of non shared files. Do you confirm ?", QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::No) {
if (QMessageBox::question(this,tr("Cache cleaning confirmation"), tr("This will forget any former hash of non shared files. Do you confirm ?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::No) {
ui.rememberHashesCB->setChecked(true);
}
}
@ -151,4 +151,4 @@ void DirectoriesPage::setPartialsDirectory()
}
ui.partialsDir->setText(qdir);
}
}