/*
 dvdstore for Qt.
 Marius Sundbakken <marius@sundbakken.org>
 For Wrox
*/

#include <qapplication.h>
#include "mainwindow.h"
#include "settingsmanager.h"

int main(int argc, char **argv)
{
	QApplication app(argc, argv);

	SettingsManager::instance()->load();
	MainWindow m;
	app.setMainWidget(&m);
	m.addLog("*** Welcome to DVDstore ***");
	m.show();
	int rc = app.exec();
	SettingsManager::instance()->save();
	return rc;
}








