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

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 @@ ...@@ -27,6 +27,7 @@
#include <QFileDialog> #include <QFileDialog>
#include <QSlider> #include <QSlider>
#include <QUndoView> #include <QUndoView>
#include <QMessageBox>
#include "MainWindow.h" #include "MainWindow.h"
#include "MediaListWidget.h" #include "MediaListWidget.h"
...@@ -303,8 +304,10 @@ void MainWindow::on_actionAbout_triggered() ...@@ -303,8 +304,10 @@ void MainWindow::on_actionAbout_triggered()
About::instance()->exec(); 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(); //Transcode::instance( this )->exec();
} }
......
...@@ -80,7 +80,7 @@ private slots: ...@@ -80,7 +80,7 @@ private slots:
void on_actionQuit_triggered(); void on_actionQuit_triggered();
void on_actionAbout_triggered(); void on_actionAbout_triggered();
void on_actionPreferences_triggered(); void on_actionPreferences_triggered();
void on_actionTranscode_File_triggered(); void on_actionTranscode_triggered();
void on_actionRender_triggered(); void on_actionRender_triggered();
void on_actionNew_Project_triggered(); void on_actionNew_Project_triggered();
void on_actionLoad_Project_triggered(); void on_actionLoad_Project_triggered();
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
<addaction name="actionNew_Project"/> <addaction name="actionNew_Project"/>
<addaction name="actionLoad_Project"/> <addaction name="actionLoad_Project"/>
<addaction name="actionSave"/> <addaction name="actionSave"/>
<addaction name="actionTranscode_File"/>
<addaction name="actionRender"/> <addaction name="actionRender"/>
<addaction name="actionQuit"/> <addaction name="actionQuit"/>
</widget> </widget>
...@@ -65,6 +64,7 @@ ...@@ -65,6 +64,7 @@
<property name="title"> <property name="title">
<string>Tools</string> <string>Tools</string>
</property> </property>
<addaction name="actionTranscode"/>
</widget> </widget>
<widget class="QMenu" name="menuWindow"> <widget class="QMenu" name="menuWindow">
<property name="title"> <property name="title">
...@@ -135,9 +135,9 @@ ...@@ -135,9 +135,9 @@
<string>Project preview</string> <string>Project preview</string>
</property> </property>
</action> </action>
<action name="actionTranscode_File"> <action name="actionTranscode">
<property name="text"> <property name="text">
<string>Transcode File</string> <string>Transcode</string>
</property> </property>
</action> </action>
<action name="actionNew_Project"> <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