Fixed toolTips of scrollUp and scrollDown buttons
--HG-- branch : feature
This commit is contained in:
parent
ef1fff7a22
commit
b9deb50c1b
|
@ -429,8 +429,8 @@ void DialogDetail::ScrollUp()
|
|||
{
|
||||
if (ui.listWidget->count() > 1)
|
||||
{
|
||||
QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1);
|
||||
ui.listWidget->insertItem(0, item);
|
||||
QListWidgetItem *item = ui.listWidget->takeItem(0);
|
||||
ui.listWidget->addItem(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -439,8 +439,8 @@ void DialogDetail::ScrollDown()
|
|||
{
|
||||
if (ui.listWidget->count() > 1)
|
||||
{
|
||||
QListWidgetItem *item = ui.listWidget->takeItem(0);
|
||||
ui.listWidget->addItem(item);
|
||||
QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1);
|
||||
ui.listWidget->insertItem(0, item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -355,7 +355,7 @@
|
|||
<item>
|
||||
<widget class="QToolButton" name="toolButtonDown">
|
||||
<property name="toolTip">
|
||||
<string>Scroll down</string>
|
||||
<string>Scroll down the list</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
@ -368,7 +368,7 @@
|
|||
<item>
|
||||
<widget class="QToolButton" name="toolButtonUp">
|
||||
<property name="toolTip">
|
||||
<string>Scroll up</string>
|
||||
<string>Scroll up the list</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
|
Loading…
Reference in New Issue
Block a user