Browse Source

Merge branch 'pr1669'

pull/1672/head
tux3 10 years ago
parent
commit
354347f5ea
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 4
      src/widget/form/profileform.cpp

4
src/widget/form/profileform.cpp

@ -150,7 +150,9 @@ void ProfileForm::copyIdClicked() @@ -150,7 +150,9 @@ void ProfileForm::copyIdClicked()
toxId->selectAll();
QString txt = toxId->text();
txt.replace('\n',"");
QApplication::clipboard()->setText(txt);
QApplication::clipboard()->setText(txt, QClipboard::Clipboard);
if (QApplication::clipboard()->supportsSelection())
QApplication::clipboard()->setText(txt, QClipboard::Selection);
toxId->setCursorPosition(0);
if (!hasCheck)

Loading…
Cancel
Save