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:
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "ExportProjectDialog.h"
|
||||
#include "Song.h"
|
||||
#include "Engine.h"
|
||||
#include "GuiApplication.h"
|
||||
#include "MainWindow.h"
|
||||
#include "BBTrackContainer.h"
|
||||
#include "BBTrack.h"
|
||||
@@ -282,7 +282,7 @@ void ExportProjectDialog::render( ProjectRenderer* renderer )
|
||||
connect( renderer, SIGNAL( progressChanged( int ) ), progressBar, SLOT( setValue( int ) ) );
|
||||
connect( renderer, SIGNAL( progressChanged( int ) ), this, SLOT( updateTitleBar( int ) )) ;
|
||||
connect( renderer, SIGNAL( finished() ), this, SLOT( accept() ) );
|
||||
connect( renderer, SIGNAL( finished() ), Engine::mainWindow(), SLOT( resetWindowTitle() ) );
|
||||
connect( renderer, SIGNAL( finished() ), gui->mainWindow(), SLOT( resetWindowTitle() ) );
|
||||
|
||||
renderer->startProcessing();
|
||||
}
|
||||
@@ -341,6 +341,6 @@ void ExportProjectDialog::startBtnClicked()
|
||||
|
||||
void ExportProjectDialog::updateTitleBar( int _prog )
|
||||
{
|
||||
Engine::mainWindow()->setWindowTitle(
|
||||
gui->mainWindow()->setWindowTitle(
|
||||
tr( "Rendering: %1%" ).arg( _prog ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user