mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
ElidedButton: Make constructor explicit
Prevents implicit conversions to ElidedButton.
This commit is contained in:
parent
5153271278
commit
2363be4c63
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@
|
|||
class ElidedButton : public QPushButton
|
||||
{
|
||||
public:
|
||||
ElidedButton(const QString& text = QStringLiteral(""),
|
||||
Qt::TextElideMode elide_mode = Qt::ElideRight);
|
||||
explicit ElidedButton(const QString& text = QStringLiteral(""),
|
||||
Qt::TextElideMode elide_mode = Qt::ElideRight);
|
||||
Qt::TextElideMode elideMode() const;
|
||||
void setElideMode(Qt::TextElideMode elide_mode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue