Merge branch 'gui_application' into ed_refac
Conflicts: src/core/Song.cpp src/gui/MainWindow.cpp
This commit is contained in:
commit
748cccd266
48 files changed
+436
-345
No files matched your search
@@ -53,6 +53,7 @@
|
||||
#include "FileBrowser.h"
|
||||
#include "FxMixer.h"
|
||||
#include "FxMixerView.h"
|
||||
#include "GuiApplication.h"
|
||||
#include "InstrumentSoundShaping.h"
|
||||
#include "InstrumentSoundShapingView.h"
|
||||
#include "FadeButton.h"
|
||||
@@ -941,7 +942,7 @@ InstrumentTrackWindow * InstrumentTrackView::topLevelInstrumentTrackWindow()
|
||||
{
|
||||
InstrumentTrackWindow * w = NULL;
|
||||
foreach( QMdiSubWindow * sw,
|
||||
Engine::mainWindow()->workspace()->subWindowList(
|
||||
gui->mainWindow()->workspace()->subWindowList(
|
||||
QMdiArea::ActivationHistoryOrder ) )
|
||||
{
|
||||
if( sw->isVisible() && sw->widget()->inherits( "InstrumentTrackWindow" ) )
|
||||
@@ -1135,10 +1136,10 @@ class fxLineLcdSpinBox : public LcdSpinBox
|
||||
protected:
|
||||
virtual void mouseDoubleClickEvent ( QMouseEvent * _me )
|
||||
{
|
||||
Engine::fxMixerView()->setCurrentFxLine( model()->value() );
|
||||
gui->fxMixerView()->setCurrentFxLine( model()->value() );
|
||||
|
||||
Engine::fxMixerView()->show();// show fxMixer window
|
||||
Engine::fxMixerView()->setFocus();// set focus to fxMixer window
|
||||
gui->fxMixerView()->show();// show fxMixer window
|
||||
gui->fxMixerView()->setFocus();// set focus to fxMixer window
|
||||
//engine::getFxMixerView()->raise();
|
||||
}
|
||||
};
|
||||
@@ -1280,7 +1281,7 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :
|
||||
setFixedWidth( INSTRUMENT_WIDTH );
|
||||
resize( sizeHint() );
|
||||
|
||||
QMdiSubWindow * subWin = Engine::mainWindow()->workspace()->addSubWindow( this );
|
||||
QMdiSubWindow * subWin = gui->mainWindow()->workspace()->addSubWindow( this );
|
||||
Qt::WindowFlags flags = subWin->windowFlags();
|
||||
flags |= Qt::MSWindowsFixedSizeDialogHint;
|
||||
flags &= ~Qt::WindowMaximizeButtonHint;
|
||||
@@ -1306,7 +1307,7 @@ InstrumentTrackWindow::~InstrumentTrackWindow()
|
||||
|
||||
delete m_instrumentView;
|
||||
|
||||
if( Engine::mainWindow()->workspace() )
|
||||
if( gui->mainWindow()->workspace() )
|
||||
{
|
||||
parentWidget()->hide();
|
||||
parentWidget()->deleteLater();
|
||||
@@ -1472,7 +1473,7 @@ void InstrumentTrackWindow::closeEvent( QCloseEvent* event )
|
||||
{
|
||||
event->ignore();
|
||||
|
||||
if( Engine::mainWindow()->workspace() )
|
||||
if( gui->mainWindow()->workspace() )
|
||||
{
|
||||
parentWidget()->hide();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user