mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Qt: use gifs as icons on hover if available.
This commit is contained in:
parent
0a7df9d02e
commit
53f317e076
14 changed files with 347 additions and 101 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <QDateTime>
|
||||
|
||||
custom_table_widget_item::custom_table_widget_item(const std::string& text, int sort_role, const QVariant& sort_value)
|
||||
: QTableWidgetItem(QString::fromStdString(text).simplified()) // simplified() forces single line text
|
||||
: movie_item(QString::fromStdString(text).simplified()) // simplified() forces single line text
|
||||
{
|
||||
if (sort_role != Qt::DisplayRole)
|
||||
{
|
||||
|
|
@ -13,7 +13,7 @@ custom_table_widget_item::custom_table_widget_item(const std::string& text, int
|
|||
}
|
||||
|
||||
custom_table_widget_item::custom_table_widget_item(const QString& text, int sort_role, const QVariant& sort_value)
|
||||
: QTableWidgetItem(text.simplified()) // simplified() forces single line text
|
||||
: movie_item(text.simplified()) // simplified() forces single line text
|
||||
{
|
||||
if (sort_role != Qt::DisplayRole)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue