aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-23 08:01:36 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-23 08:01:36 +0200
commit6f4e49bb47b064024863e87bb7a3ae3c8348c40a (patch)
treeb0786577907a79204a51d7ee4a6a387b47395341 /3rdparty
parent0508fb3627966bd1298b614190fb9160cbcba415 (diff)
downloadnextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.tar.gz
nextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.tar.bz2
nextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.zip
cleaned some warnings
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp6
-rw-r--r--3rdparty/QtPropertyBrowser/src/qtgroupboxpropertybrowser.cpp6
-rw-r--r--3rdparty/QtPropertyBrowser/src/qtpropertybrowser.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp
index 58cfc510..c39c8667 100644
--- a/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp
+++ b/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp
@@ -277,14 +277,14 @@ void QtButtonPropertyBrowserPrivate::propertyInserted(QtBrowserItem *index, QtBr
if (!parentItem->container) {
m_recreateQueue.removeAll(parentItem);
WidgetItem *grandParent = parentItem->parent;
- QWidget *w = 0;
+ //QWidget *w = 0;
QGridLayout *l = 0;
const int oldRow = gridRow(parentItem);
if (grandParent) {
- w = grandParent->container;
+ //w = grandParent->container;
l = grandParent->layout;
} else {
- w = q_ptr;
+ //w = q_ptr;
l = m_mainLayout;
}
QFrame *container = new QFrame();
diff --git a/3rdparty/QtPropertyBrowser/src/qtgroupboxpropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qtgroupboxpropertybrowser.cpp
index caf074db..9979b3c0 100644
--- a/3rdparty/QtPropertyBrowser/src/qtgroupboxpropertybrowser.cpp
+++ b/3rdparty/QtPropertyBrowser/src/qtgroupboxpropertybrowser.cpp
@@ -312,15 +312,15 @@ void QtGroupBoxPropertyBrowserPrivate::propertyRemoved(QtBrowserItem *index)
removeRow(parentItem->layout, row);
} else {
WidgetItem *par = parentItem->parent;
- QWidget *w = 0;
+ //QWidget *w = 0;
QGridLayout *l = 0;
int oldRow = -1;
if (!par) {
- w = q_ptr;
+ //w = q_ptr;
l = m_mainLayout;
oldRow = m_children.indexOf(parentItem);
} else {
- w = par->groupBox;
+ //w = par->groupBox;
l = par->layout;
oldRow = par->children.indexOf(parentItem);
if (hasHeader(par))
diff --git a/3rdparty/QtPropertyBrowser/src/qtpropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qtpropertybrowser.cpp
index 2449fcb8..63260fe4 100644
--- a/3rdparty/QtPropertyBrowser/src/qtpropertybrowser.cpp
+++ b/3rdparty/QtPropertyBrowser/src/qtpropertybrowser.cpp
@@ -1874,14 +1874,14 @@ QtBrowserItem *QtAbstractPropertyBrowser::insertProperty(QtProperty *property,
QList<QtProperty *> pendingList = properties();
int pos = 0;
int newPos = 0;
- QtProperty *properAfterProperty = 0;
+ //QtProperty *properAfterProperty = 0;
while (pos < pendingList.count()) {
QtProperty *prop = pendingList.at(pos);
if (prop == property)
return 0;
if (prop == afterProperty) {
newPos = pos + 1;
- properAfterProperty = afterProperty;
+ //properAfterProperty = afterProperty;
}
pos++;
}