D7087: Add "Copy Info" button to the About System KCM
gregormi
noreply at phabricator.kde.org
Fri Jun 29 15:11:20 UTC 2018
gregormi added a comment.
I added some qDebug code in Module::copyToClipboard() and noticed that the method is always called twice when the Copy to clipboard button is clicked.
When I remove the line 125 in Module.cpp: connect(ui->pushButtonCopyInfo, &QPushButton::clicked, this, &Module::copyToClipboard);
then the nothing happens when the button is clicked.
With a web search I only found this https://stackoverflow.com/questions/34416103/function-connected-to-the-button-is-called-twice-after-one-click which is not the case here. Any idea why the slot method is called twice?
REPOSITORY
R102 KInfoCenter
REVISION DETAIL
https://phabricator.kde.org/D7087
To: gregormi, ngraham, dhaumann, rkflx
Cc: rkflx, dhaumann, ltoscano, sebas, elvisangelaccio, cfeck, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180629/569f6dd9/attachment.html>
More information about the Plasma-devel
mailing list