summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorTaeyeon Mori <orochimarufan.x3@gmail.com>2014-04-12 20:14:09 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-30 23:53:41 +0200
commitb9fb7188226f2812a6ee3f28cd4968883d3b9e8a (patch)
treedfc57f385905ce5e423cc454f54ee1a6bb9290ad /gui
parent1f498266d8748c731a7cdcc1a0adebe4dc7a9703 (diff)
downloadMultiMC-b9fb7188226f2812a6ee3f28cd4968883d3b9e8a.tar
MultiMC-b9fb7188226f2812a6ee3f28cd4968883d3b9e8a.tar.gz
MultiMC-b9fb7188226f2812a6ee3f28cd4968883d3b9e8a.tar.lz
MultiMC-b9fb7188226f2812a6ee3f28cd4968883d3b9e8a.tar.xz
MultiMC-b9fb7188226f2812a6ee3f28cd4968883d3b9e8a.zip
[Clang Warnings] Remove unused variables
Diffstat (limited to 'gui')
-rw-r--r--gui/groupview/GroupView.cpp1
-rw-r--r--gui/widgets/VersionListView.cpp5
2 files changed, 1 insertions, 5 deletions
diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp
index b650efee..7094b34c 100644
--- a/gui/groupview/GroupView.cpp
+++ b/gui/groupview/GroupView.cpp
@@ -283,7 +283,6 @@ void GroupView::mousePressEvent(QMouseEvent *event)
m_pressedIndex = index;
m_pressedAlreadySelected = selectionModel()->isSelected(m_pressedIndex);
- QItemSelectionModel::SelectionFlags selection_flags = selectionCommand(index, event);
m_pressedPosition = geometryPos;
m_pressedCategory = categoryAt(geometryPos);
diff --git a/gui/widgets/VersionListView.cpp b/gui/widgets/VersionListView.cpp
index b7f45f27..e552d738 100644
--- a/gui/widgets/VersionListView.cpp
+++ b/gui/widgets/VersionListView.cpp
@@ -85,12 +85,9 @@ void VersionListView::paintEvent(QPaintEvent *event)
void VersionListView::paintInfoLabel(QPaintEvent *event)
{
- int scrollInterval = 500;
-
//calculate the rect for the overlay
QPainter painter(viewport());
painter.setRenderHint(QPainter::Antialiasing, true);
- const QChar letter = 'Q';
QFont font("sans", 20);
font.setBold(true);
@@ -147,4 +144,4 @@ void ModListView::setModel ( QAbstractItemModel* model )
head->setSectionResizeMode(i, QHeaderView::ResizeToContents);
}
}
-*/ \ No newline at end of file
+*/