|
@@ -6,7 +6,7 @@
|
|
#include "QFDAlert.h"
|
|
#include "QFDAlert.h"
|
|
#include "QFDIcon.h"
|
|
#include "QFDIcon.h"
|
|
#include "ProjectListWidget.h"
|
|
#include "ProjectListWidget.h"
|
|
-#include "QFDAlert.h"
|
|
|
|
|
|
+#include "QFDConfig.h"
|
|
|
|
|
|
#include <Widgets/Button.h>
|
|
#include <Widgets/Button.h>
|
|
#include <Widgets/LineEdit.h>
|
|
#include <Widgets/LineEdit.h>
|
|
@@ -29,7 +29,10 @@ void HomeView::showEvent(QShowEvent *event)
|
|
|
|
|
|
QWidget::showEvent(event);
|
|
QWidget::showEvent(event);
|
|
|
|
|
|
- loadProjects();
|
|
|
|
|
|
+ if (qfReloadHomeProjectsAtShow) {
|
|
|
|
+ loadProjects();
|
|
|
|
+ qfReloadHomeProjectsAtShow = false;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
void HomeView::hideEvent(QHideEvent *event)
|
|
void HomeView::hideEvent(QHideEvent *event)
|