* Add Documentation To Headers

* Add refresh after import PDB

* fixed previous error at Line 889 in MainWindow.cpp
This commit is contained in:
ICEBERG98 2018-11-17 15:40:44 +05:30 committed by Itay Cohen
parent b17656632c
commit 1bd7e13192

View File

@ -2,6 +2,7 @@
#include "ui_MainWindow.h" #include "ui_MainWindow.h"
#include "common/Helpers.h" #include "common/Helpers.h"
// Qt Headers
#include <QApplication> #include <QApplication>
#include <QComboBox> #include <QComboBox>
#include <QCompleter> #include <QCompleter>
@ -32,6 +33,7 @@
#include <QTreeWidgetItem> #include <QTreeWidgetItem>
#include <QSvgRenderer> #include <QSvgRenderer>
// Common Headers
#include "common/Highlighter.h" #include "common/Highlighter.h"
#include "common/HexAsciiHighlighter.h" #include "common/HexAsciiHighlighter.h"
#include "common/Helpers.h" #include "common/Helpers.h"
@ -39,6 +41,7 @@
#include "common/ProgressIndicator.h" #include "common/ProgressIndicator.h"
#include "common/TempConfig.h" #include "common/TempConfig.h"
// Dialogs
#include "dialogs/NewFileDialog.h" #include "dialogs/NewFileDialog.h"
#include "dialogs/InitialOptionsDialog.h" #include "dialogs/InitialOptionsDialog.h"
#include "dialogs/SaveProjectDialog.h" #include "dialogs/SaveProjectDialog.h"
@ -48,6 +51,7 @@
#include "dialogs/preferences/PreferencesDialog.h" #include "dialogs/preferences/PreferencesDialog.h"
#include "dialogs/OpenFileDialog.h" #include "dialogs/OpenFileDialog.h"
// Widgets Headers
#include "widgets/DisassemblerGraphView.h" #include "widgets/DisassemblerGraphView.h"
#include "widgets/GraphWidget.h" #include "widgets/GraphWidget.h"
#include "widgets/FunctionsWidget.h" #include "widgets/FunctionsWidget.h"
@ -882,6 +886,7 @@ void MainWindow::on_actionImportPDB_triggered()
if (!pdbFile.isEmpty()) { if (!pdbFile.isEmpty()) {
core->loadPDB(pdbFile); core->loadPDB(pdbFile);
core->message(tr("%1 loaded.").arg(pdbFile)); core->message(tr("%1 loaded.").arg(pdbFile));
this->refreshAll();
} }
} }