mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-19 02:17:14 +00:00
Finish of the OtherLogs page, and (re)format page related files
This commit is contained in:
committed by
Petr Mrázek
parent
5c43842359
commit
4c0dc51110
@@ -14,12 +14,11 @@
|
||||
*/
|
||||
|
||||
#include "PageContainer.h"
|
||||
#include "gui/Platform.h"
|
||||
|
||||
#include <QStackedLayout>
|
||||
#include <QPushButton>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QUrl>
|
||||
#include "MultiMC.h"
|
||||
#include <QStyledItemDelegate>
|
||||
#include <QListView>
|
||||
#include <QLineEdit>
|
||||
@@ -27,10 +26,12 @@
|
||||
#include <QDialogButtonBox>
|
||||
#include <QGridLayout>
|
||||
#include <QDesktopServices>
|
||||
#include "logic/settings/SettingsObject.h"
|
||||
|
||||
#include "MultiMC.h"
|
||||
#include "logic/settings/SettingsObject.h"
|
||||
#include "gui/widgets/IconLabel.h"
|
||||
#include "gui/Platform.h"
|
||||
#include "PageContainer_p.h"
|
||||
#include <gui/widgets/IconLabel.h>
|
||||
|
||||
class PageEntryFilterModel : public QSortFilterProxyModel
|
||||
{
|
||||
@@ -197,5 +198,9 @@ bool PageContainer::requestClose(QCloseEvent *event)
|
||||
if (!page->apply())
|
||||
return false;
|
||||
}
|
||||
if (m_currentPage)
|
||||
{
|
||||
m_currentPage->closed();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user