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
+4 -4
View File
@@ -4,7 +4,7 @@
#include "messages/limitedqueuesnapshot.hpp"
#include "messages/message.hpp"
#include "widgets/basewidget.hpp"
#include "widgets/basewindow.hpp"
class QLineEdit;
namespace chatterino {
@@ -12,7 +12,7 @@ class Channel;
namespace widgets {
class ChannelView;
class SearchPopup : public BaseWidget
class SearchPopup : public BaseWindow
{
public:
SearchPopup();
@@ -27,5 +27,5 @@ private:
void initLayout();
void performSearch();
};
}
}
} // namespace widgets
} // namespace chatterino