Reintroduced the status character, since it is necessary for the automatic sorting

Streamlined the settings storage
We now support an implicit fossil executable living in QCoreApplication::applicationDirPath() or in the system path, unless the user has provided an override

FossilOrigin-Name: 97aefbc7825732e8fc2e711187c32c49e1149c11
This commit is contained in:
kostas
2011-08-07 04:56:05 +00:00
parent d939003b9f
commit 379d9707cb
5 changed files with 58 additions and 43 deletions

View File

@ -116,6 +116,7 @@ private:
void addWorkspace(const QString &dir);
void rebuildRecent();
bool openWorkspace(const QString &dir);
QString getFossilPath();
enum RepoStatus
{
@ -154,22 +155,19 @@ private slots:
void on_actionUndo_triggered();
void on_actionAbout_triggered();
void on_actionUpdate_triggered();
void on_actionSettings_triggered();
private:
enum
{
MAX_RECENT=5
};
Ui::MainWindow *ui;
QStandardItemModel itemModel;
QProcess fossilUI;
class QAction *recentWorkspaceActs[MAX_RECENT];
class QLabel *statusLabel;
bool fossilAbort;
bool fossilAbort; // FIXME: No GUI for it yet
Settings settings;
QString projectName;