mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-02 21:35:22 -04:00
Merge branch 'gui_application' into ed_refac
Conflicts: src/core/Song.cpp src/gui/MainWindow.cpp
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "Knob.h"
|
||||
#include "Engine.h"
|
||||
#include "embed.h"
|
||||
#include "GuiApplication.h"
|
||||
#include "MainWindow.h"
|
||||
#include "gui_templates.h"
|
||||
#include "InstrumentTrack.h"
|
||||
@@ -141,13 +142,13 @@ FxMixerView::FxMixerView() :
|
||||
updateGeometry();
|
||||
|
||||
// timer for updating faders
|
||||
connect( Engine::mainWindow(), SIGNAL( periodicUpdate() ),
|
||||
connect( gui->mainWindow(), SIGNAL( periodicUpdate() ),
|
||||
this, SLOT( updateFaders() ) );
|
||||
|
||||
|
||||
// add ourself to workspace
|
||||
QMdiSubWindow * subWin =
|
||||
Engine::mainWindow()->workspace()->addSubWindow( this );
|
||||
gui->mainWindow()->workspace()->addSubWindow( this );
|
||||
Qt::WindowFlags flags = subWin->windowFlags();
|
||||
flags &= ~Qt::WindowMaximizeButtonHint;
|
||||
subWin->setWindowFlags( flags );
|
||||
|
||||
Reference in New Issue
Block a user