From cf0a1bc2be22c8784fd098e00e05e46373afe602 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 25 May 2014 15:39:45 +0200 Subject: - files in bsas are now only displayed in the data tab if they are managed by mo - number of problems detected by MO is now displayed as a badge on the icon - rephrased the explanation text on the Archives tab. unchecked plugin-loaded bsas no longer prompt a warning - bsa extraction is now handled in a plugin - added a way for plugins to react to mod installation - re-enabled the automatic fix for asset order problems - bugfix: In some cases when a download wasn't started successfully the download urls weren't stored in the meta file so no resume was possible - bugfix: MO tried to resume downloads when it didn't have and download urls - bugfix: downloads couldn't be paused if the download was already broken on the network layer - bugfix: download managear did not recognize a file as downloaded if the download completed before signals were hooked up - bugfix: in-place file replacement was re-broken --- src/mainwindow.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 910e243a..bbbbea2f 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -90,6 +90,7 @@ private: }; typedef boost::signals2::signal SignalAboutToRunApplication; + typedef boost::signals2::signal SignalModInstalled; public: explicit MainWindow(const QString &exeName, QSettings &initSettings, QWidget *parent = 0); @@ -251,7 +252,7 @@ private: bool extractProgress(QProgressDialog &extractProgress, int percentage, std::string fileName); - bool checkForProblems(); + int checkForProblems(); int getBinaryExecuteInfo(const QFileInfo &targetInfo, QFileInfo &binaryInfo, QString &arguments); QTreeWidgetItem *addFilterItem(QTreeWidgetItem *root, const QString &name, int categoryID); @@ -284,6 +285,8 @@ private: QMenu *modListContextMenu(); + std::set managedArchives(); + private: static const unsigned int PROBLEM_PLUGINSNOTLOADED = 1; @@ -366,6 +369,7 @@ private: QFile m_PluginsCheck; SignalAboutToRunApplication m_AboutToRun; + SignalModInstalled m_ModInstalled; QString m_CurrentLanguage; std::vector m_Translators; @@ -588,6 +592,7 @@ private slots: // ui slots void on_actionCopy_Log_to_Clipboard_triggered(); void on_categoriesAndBtn_toggled(bool checked); void on_categoriesOrBtn_toggled(bool checked); + void on_managedArchiveLabel_linkHovered(const QString &link); }; -- cgit v1.3.1