1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Remove \n when copying own tox ID

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-09-10 22:27:56 +02:00
parent c564367354
commit 960fbfff48

View File

@ -118,8 +118,10 @@ void SettingsForm::onEnableIPv6Updated()
void SettingsForm::copyIdClicked()
{
id.selectAll();;
QApplication::clipboard()->setText(id.toPlainText());
id.selectAll();
QString txt = id.toPlainText();
txt.replace('\n',"");
QApplication::clipboard()->setText(txt);
}
void SettingsForm::onUseTranslationUpdated()