Make it possible to drag and drop multiple files
It is now possible to add multiple files before sending them to the processing queue.
This commit is contained in:
9
main.go
9
main.go
@@ -46,7 +46,7 @@ func init() {
|
||||
appMetadata,
|
||||
localizerService,
|
||||
queue,
|
||||
kernel.NewQueueLayoutObject(queue, localizerService, ffplayService),
|
||||
ffplayService,
|
||||
convertorService,
|
||||
)
|
||||
}
|
||||
@@ -108,7 +108,12 @@ func main() {
|
||||
|
||||
localizerView := localizer.NewView(application)
|
||||
convertorView := convertor.NewView(application)
|
||||
convertorHandler := handler.NewConvertorHandler(application, convertorView, errorView, convertorRepository, settingDirectoryForSaving)
|
||||
itemsToConvertService := kernel.NewItemsToConvert(
|
||||
application.GetWindow().GetLayout().GetRightTabs().GetAddedFilesContainer(),
|
||||
application.GetFFplayService(),
|
||||
application.GetLocalizerService(),
|
||||
)
|
||||
convertorHandler := handler.NewConvertorHandler(application, convertorView, errorView, convertorRepository, settingDirectoryForSaving, itemsToConvertService)
|
||||
|
||||
themeRepository := theme.NewRepository(settingRepository)
|
||||
themeService := theme.NewTheme(application, themeRepository)
|
||||
|
Reference in New Issue
Block a user