Merge TWidget* into Ui::RpWidget*.
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user