diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-05-06 11:11:30 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-06 11:12:28 -0700 |
commit | 9e45999a01471678001af1b2c292776cf30253ce (patch) | |
tree | dd1a0719ea90ca443cbe095569df87e04fb1f8ab /desktop-widgets/modeldelegates.cpp | |
parent | 38af1f2ab93f2ed20552b0869a02844778138739 (diff) | |
download | subsurface-9e45999a01471678001af1b2c292776cf30253ce.tar.gz |
Fix some warnings
Two unused variables and one case of sign confusion.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/modeldelegates.cpp')
-rw-r--r-- | desktop-widgets/modeldelegates.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/modeldelegates.cpp b/desktop-widgets/modeldelegates.cpp index 9ab02cd88..d22e7cbb5 100644 --- a/desktop-widgets/modeldelegates.cpp +++ b/desktop-widgets/modeldelegates.cpp @@ -113,7 +113,6 @@ struct CurrSelected { QWidget *ComboBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { Q_UNUSED(option) - MainWindow *m = MainWindow::instance(); QComboBox *comboDelegate = new QComboBox(parent); comboDelegate->setModel(model); comboDelegate->setEditable(true); |