diff --git a/MainWindow/MainWindow.cpp b/MainWindow/MainWindow.cpp index c627562..680b4c9 100644 --- a/MainWindow/MainWindow.cpp +++ b/MainWindow/MainWindow.cpp @@ -18,7 +18,7 @@ void MainWindow::setupUi() { //region Shortcuts m_ui->actionFileNew->setShortcut(QKeySequence::New); - m_ui->actionFileOpen->setShortcut(QKeySequence::Open); + m_ui->actionFileOpenFile->setShortcut(QKeySequence::Open); m_ui->actionFileSave->setShortcut(QKeySequence::Save); m_ui->actionFileSaveAs->setShortcut(QKeySequence::SaveAs); m_ui->actionFileReload->setShortcut(QKeySequence::Refresh); @@ -49,8 +49,8 @@ void MainWindow::setupUi() { //endregion } -void MainWindow::on_actionFileOpen_triggered() { - const QString path = QFileDialog::getOpenFileName( +void MainWindow::on_actionFileOpenFile_triggered() { + /* const QString path = QFileDialog::getOpenFileName( this, tr("Choose a file to open"), qApp->applicationDirPath(), @@ -61,7 +61,7 @@ void MainWindow::on_actionFileOpen_triggered() { } const QFile file(path, this); - +*/ } void MainWindow::on_actionHelpAboutNBTModifier_triggered() { diff --git a/MainWindow/MainWindow.h b/MainWindow/MainWindow.h index 61afff4..f1343cf 100644 --- a/MainWindow/MainWindow.h +++ b/MainWindow/MainWindow.h @@ -32,7 +32,7 @@ private slots: /** * Open a file */ - void on_actionFileOpen_triggered(); + void on_actionFileOpenFile_triggered(); /** * Display the "about" dialog diff --git a/execution-required.txt b/execution-required.txt new file mode 100644 index 0000000..69b97ca --- /dev/null +++ b/execution-required.txt @@ -0,0 +1,7 @@ +Qt5Core.dll +Qt5Gui.dll +Qt5Svg.dll +Qt5Widgets.dll +platforms/qwindows.dll +imageformats/qsvg.dll +iconengines/qsvgicon.dll \ No newline at end of file diff --git a/icons/breeze-icons b/icons/breeze-icons index 45ee7b0..5925aca 160000 --- a/icons/breeze-icons +++ b/icons/breeze-icons @@ -1 +1 @@ -Subproject commit 45ee7b09575a488daad75128e69d6e92b3850261 +Subproject commit 5925acaa6e4641589c04827627e3f6e9172cd2dc