frontend: Use Q_OBJECT macro for BrowserDock
This is needed as the BrowserDock is a QObject.
This commit is contained in:
parent
2b56ccfeb5
commit
47360a92c5
2 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "BrowserDock.hpp"
|
||||
|
||||
#include <QCloseEvent>
|
||||
#include "moc_BrowserDock.cpp"
|
||||
|
||||
void BrowserDock::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ extern QCef *cef;
|
|||
extern QCefCookieManager *panel_cookies;
|
||||
|
||||
class BrowserDock : public OBSDock {
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
QString title;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue