summaryrefslogtreecommitdiffstats
path: root/gui/widgets/PageContainer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widgets/PageContainer_p.h')
-rw-r--r--gui/widgets/PageContainer_p.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/gui/widgets/PageContainer_p.h b/gui/widgets/PageContainer_p.h
index f10e8f2c..1f68776b 100644
--- a/gui/widgets/PageContainer_p.h
+++ b/gui/widgets/PageContainer_p.h
@@ -1,4 +1,20 @@
+/* Copyright 2014 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#pragma once
+
#include <QListView>
#include <QStyledItemDelegate>
#include <QEvent>
@@ -30,7 +46,7 @@ public:
empty.fill(Qt::transparent);
m_emptyIcon = QIcon(empty);
}
- virtual ~PageModel() {};
+ virtual ~PageModel() {}
int rowCount(const QModelIndex &parent = QModelIndex()) const
{