diff src/gui/window.cc @ 147:6fdf0632c003

track: use a bit of a more sane way to manage recognition it also works with the new animia API
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 13:19:40 -0500
parents 478f3b366199
children d43d68408d3c
line wrap: on
line diff
--- a/src/gui/window.cc	Mon Nov 13 13:52:58 2023 -0500
+++ b/src/gui/window.cc	Tue Nov 14 13:19:40 2023 -0500
@@ -16,7 +16,7 @@
 #include "gui/widgets/sidebar.h"
 #include "services/services.h"
 #include "track/media.h"
-#include "track/types.h"
+
 #include <QActionGroup>
 #include <QApplication>
 #include <QDebug>
@@ -32,7 +32,7 @@
 #include <QTimer>
 #include <QToolBar>
 #include <QToolButton>
-#include <iostream>
+
 #ifdef MACOSX
 #	include "sys/osx/dark_theme.h"
 #elif defined(WIN32)
@@ -463,8 +463,6 @@
 
 void MainWindow::closeEvent(QCloseEvent* event) {
 	session.config.Save();
-	Track::Types::SavePlayers(session.recognition.players);
-	Track::Types::SaveExtensions(session.recognition.extensions);
 	event->accept();
 }