diff options
| author | Tannin <devnull@localhost> | 2015-03-01 11:28:49 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-03-01 11:28:49 +0100 |
| commit | d08e0ebab09b0a71c3042cd20b8994ec1c10a525 (patch) | |
| tree | 326a75bae849f2e2ed42cba0914933437bb92f89 /src/mainwindow.h | |
| parent | 6479f972dccaabb3afadb570583a4269e8a785e4 (diff) | |
- some fixes to how file changes are signaled and delayed
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index d0e3aaf5..88419594 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -53,6 +53,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "iuserinterface.h"
#include <guessedvalue.h>
#include <directoryentry.h>
+#include <delayedfilewriter.h>
#ifndef Q_MOC_RUN
#include <boost/signals2.hpp>
#endif
@@ -97,7 +98,7 @@ public: void setModListSorting(int index);
void setESPListSorting(int index);
- bool saveArchiveList();
+ void saveArchiveList();
void registerPluginTool(MOBase::IPluginTool *tool);
void registerModPage(MOBase::IPluginModPage *modPage);
@@ -121,6 +122,8 @@ public: virtual bool closeWindow();
virtual void setWindowEnabled(bool enabled);
+ virtual MOBase::DelayedFileWriterBase &archivesWriter() override { return m_ArchiveListWriter; }
+
public slots:
void displayColumnSelection(const QPoint &pos);
@@ -315,6 +318,8 @@ private: LockedDialog *m_LockDialog { nullptr };
+ MOBase::DelayedFileWriter m_ArchiveListWriter;
+
private slots:
void showMessage(const QString &message);
@@ -389,7 +394,6 @@ private slots: void addPrimaryCategoryCandidates();
void modDetailsUpdated(bool success);
- void modlistChanged(int row);
void modInstalled(const QString &modName);
|
