Commit 28cd852c authored by Piotr Henryk Dabrowski's avatar Piotr Henryk Dabrowski Committed by Albert Astals Cid
Browse files

Add value to bit buttons' tooltips

parent 8a566752
......@@ -98,7 +98,7 @@ KCalcBitset::KCalcBitset(QWidget *parent) : QFrame(parent), bit_button_group_(ne
for (int bit = 0; bit < 8; bit++) {
BitButton *const tmpBitButton = new BitButton(this);
tmpBitButton->setToolTip(i18n("Bit %1", bitCounter));
tmpBitButton->setToolTip(i18n("Bit %1 = %2", bitCounter, 1ULL << bitCounter));
wordlayout->addWidget(tmpBitButton);
bit_button_group_->addButton(tmpBitButton, bitCounter);
bitCounter--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment