From b3d0fcb2083143dc21c751adafd2523c3555e5d2 Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 13 Mar 2013 19:35:20 +0100 Subject: - some more safety checks in the ini-limit removal code - some code cleanup and minor bug fixes based on results from static code analysis - added naemfilter for the esp list - bsa changes are now stored automatically but delayed by up to 0.5 seconds (for performance reasons) - bugfix: buffer overrun when certain functions are called with empty file names - bugfix: reroute for the ini-limit fix was placed in the data segment - bugfix: mod list got mixed up when the mod directory was changed externally - bugfix: plugins.txt reroute on skyrim didn't work on winXP - bugfix: MO could become unresponsive if the tutorial script couldn't be interpreted --- src/mainwindow.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 26e4c9dc..075c6247 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -103,6 +103,7 @@ public: void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info); + void saveArchiveList(); public slots: void displayColumnSelection(const QPoint &pos); @@ -197,8 +198,6 @@ private: bool extractProgress(QProgressDialog &extractProgress, int percentage, std::string fileName); - void checkBSAList(); - bool checkForProblems(QString &problemDescription); int getBinaryExecuteInfo(const QFileInfo &targetInfo, QFileInfo &binaryInfo, QString &arguments); @@ -277,6 +276,7 @@ private: QStringList m_ActiveArchives; bool m_DirectoryUpdate; bool m_ArchivesInit; + QTimer m_CheckBSATimer; QTime m_StartTime; SaveGameInfoWidget *m_CurrentSaveView; @@ -394,6 +394,8 @@ private slots: void startExeAction(); + void checkBSAList(); + private slots: // ui slots // actions void on_actionAdd_Profile_triggered(); @@ -425,6 +427,7 @@ private slots: // ui slots void on_espList_customContextMenuRequested(const QPoint &pos); void on_displayCategoriesBtn_toggled(bool checked); + }; #endif // MAINWINDOW_H -- cgit v1.3.1