moved window logic from BaseWidget to BaseWindow

This commit is contained in:
fourtf
2018-01-14 21:55:36 +01:00
parent 8deb096a27
commit e19a83679f
17 changed files with 138 additions and 104 deletions
+1 -3
View File
@@ -6,12 +6,10 @@ namespace chatterino {
namespace widgets {
QualityPopup::QualityPopup(const QString &channel, const QString &path, QStringList options)
: BaseWidget()
: BaseWindow()
, channel(channel)
, path(path)
{
this->initAsWindow();
this->ui.okButton.setText("OK");
this->ui.cancelButton.setText("Cancel");