2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Moved PsMainWindow to Platform::MainWindow, outside of pspecific module.

Currently only MSVC build is Ok, Xcode and QtCreator are broken.
This commit is contained in:
John Preston
2016-06-16 15:59:54 +03:00
parent 84f704448a
commit fd91893b51
32 changed files with 5081 additions and 3046 deletions

View File

@@ -364,7 +364,7 @@ NotifyWindow::~NotifyWindow() {
if (App::wnd()) App::wnd()->notifyShowNext(this);
}
MainWindow::MainWindow(QWidget *parent) : PsMainWindow(parent) {
MainWindow::MainWindow() {
icon16 = icon256.scaledToWidth(16, Qt::SmoothTransformation);
icon32 = icon256.scaledToWidth(32, Qt::SmoothTransformation);
icon64 = icon256.scaledToWidth(64, Qt::SmoothTransformation);
@@ -1081,7 +1081,7 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *e) {
break;
}
return PsMainWindow::eventFilter(obj, e);
return Platform::MainWindow::eventFilter(obj, e);
}
void MainWindow::mouseMoveEvent(QMouseEvent *e) {