Commit 52ef0b4c authored by Ludovic Fauvet's avatar Ludovic Fauvet

GUI: Move the transcode into the Tools menu

Also prints a warning telling the user that this feature is disabled.
parent e59ff20e
......@@ -27,6 +27,7 @@
#include <QFileDialog>
#include <QSlider>
#include <QUndoView>
#include <QMessageBox>
#include "MainWindow.h"
#include "MediaListWidget.h"
......@@ -303,8 +304,10 @@ void MainWindow::on_actionAbout_triggered()
About::instance()->exec();
}
void MainWindow::on_actionTranscode_File_triggered()
void MainWindow::on_actionTranscode_triggered()
{
QMessageBox::information( this, tr( "Sorry" ),
tr( "This feature is currently disabled." ) );
//Transcode::instance( this )->exec();
}
......
......@@ -80,7 +80,7 @@ private slots:
void on_actionQuit_triggered();
void on_actionAbout_triggered();
void on_actionPreferences_triggered();
void on_actionTranscode_File_triggered();
void on_actionTranscode_triggered();
void on_actionRender_triggered();
void on_actionNew_Project_triggered();
void on_actionLoad_Project_triggered();
......
......@@ -37,7 +37,6 @@
<addaction name="actionNew_Project"/>
<addaction name="actionLoad_Project"/>
<addaction name="actionSave"/>
<addaction name="actionTranscode_File"/>
<addaction name="actionRender"/>
<addaction name="actionQuit"/>
</widget>
......@@ -65,6 +64,7 @@
<property name="title">
<string>Tools</string>
</property>
<addaction name="actionTranscode"/>
</widget>
<widget class="QMenu" name="menuWindow">
<property name="title">
......@@ -135,9 +135,9 @@
<string>Project preview</string>
</property>
</action>
<action name="actionTranscode_File">
<action name="actionTranscode">
<property name="text">
<string>Transcode File</string>
<string>Transcode</string>
</property>
</action>
<action name="actionNew_Project">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment