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:
parent
c564367354
commit
960fbfff48
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user