mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDExportSettingDialog class to use RDApplication.
This commit is contained in:
@@ -680,7 +680,6 @@ void MainWidget::logDoubleclickedData(QListViewItem *,const QPoint &,int)
|
||||
|
||||
void MainWidget::quitMainWidget()
|
||||
{
|
||||
log_db->removeDatabase(rda->config()->mysqlDbname());
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
@@ -18,7 +18,6 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
|
||||
#ifndef RDLOGEDIT_H
|
||||
#define RDLOGEDIT_H
|
||||
|
||||
@@ -27,7 +26,6 @@
|
||||
#include <qmainwindow.h>
|
||||
#include <qsize.h>
|
||||
#include <qsizepolicy.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qlistview.h>
|
||||
@@ -36,11 +34,8 @@
|
||||
#include <qcombobox.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
#include <rdlibrary_conf.h>
|
||||
#include <rdlog_line.h>
|
||||
#include <rdlogfilter.h>
|
||||
#include <rdripc.h>
|
||||
#include <rduser.h>
|
||||
|
||||
#include "list_listviewitem.h"
|
||||
|
||||
@@ -76,7 +71,7 @@ class MainWidget : public QMainWindow
|
||||
void RefreshList();
|
||||
unsigned SelectedLogs(std::vector<ListListViewItem *> *items,
|
||||
int *tracks=NULL) const;
|
||||
QSqlDatabase *log_db;
|
||||
// QSqlDatabase *log_db;
|
||||
QString log_filename;
|
||||
QString log_import_path;
|
||||
QLabel *log_user_label;
|
||||
|
@@ -256,8 +256,7 @@ void RenderDialog::starttimeSourceData(int item)
|
||||
|
||||
void RenderDialog::audiosettingsData()
|
||||
{
|
||||
RDExportSettingsDialog *d=
|
||||
new RDExportSettingsDialog(render_settings,render_station);
|
||||
RDExportSettingsDialog *d=new RDExportSettingsDialog(render_settings);
|
||||
if(d->exec()==0) {
|
||||
render_audiosettings_edit->setText(render_settings->description());
|
||||
}
|
||||
|
Reference in New Issue
Block a user