Browse Source

Remove \n when copying own tox ID

pull/282/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
960fbfff48
  1. 6
      widget/form/settingsform.cpp

6
widget/form/settingsform.cpp

@ -118,8 +118,10 @@ void SettingsForm::onEnableIPv6Updated() @@ -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…
Cancel
Save