Merge TWidget* into Ui::RpWidget*.

This commit is contained in:
John Preston
2025-08-11 13:54:52 +04:00
parent cc98f7da36
commit d60bfa238f
29 changed files with 49 additions and 53 deletions

View File

@@ -12,7 +12,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Profile {
CoverDropArea::CoverDropArea(QWidget *parent, const QString &title, const QString &subtitle) : TWidget(parent)
CoverDropArea::CoverDropArea(
QWidget *parent,
const QString &title,
const QString &subtitle)
: RpWidget(parent)
, _title(title)
, _subtitle(subtitle)
, _titleWidth(st::profileDropAreaTitleFont->width(_title))

View File

@@ -12,7 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Profile {
class CoverDropArea : public TWidget {
class CoverDropArea : public Ui::RpWidget {
public:
CoverDropArea(QWidget *parent, const QString &title, const QString &subtitle);