aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-16 22:04:57 +0200
committerDavid Robillard <d@drobilla.net>2018-09-16 22:04:57 +0200
commit9a93d3c3b9ffe7ff7fe2602d0523d4f80655e8aa (patch)
tree30816ee2f08584c38aab73bce9b9ffc37db9ab77
parent90841760fd73b288f725f4e6bd5c0972f6a51e70 (diff)
downloadsuil-master.tar.gz
suil-master.tar.bz2
suil-master.zip
Remove pointless const qualifiersHEADmaster
-rw-r--r--src/gtk2_in_qt5.cpp2
-rw-r--r--src/qt5_in_gtk2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp
index 77af460..50b9012 100644
--- a/src/gtk2_in_qt5.cpp
+++ b/src/gtk2_in_qt5.cpp
@@ -87,7 +87,7 @@ wrapper_wrap(SuilWrapper* wrapper,
gtk_container_add(GTK_CONTAINER(plug), widget);
gtk_widget_show_all(plug);
- const WId wid = (const WId)gtk_plug_get_id((GtkPlug*)plug);
+ const WId wid = (WId)gtk_plug_get_id((GtkPlug*)plug);
QWindow* window = QWindow::fromWinId(wid);
QWidget* container = QWidget::createWindowContainer(window, wrap);
QVBoxLayout* layout = new QVBoxLayout();
diff --git a/src/qt5_in_gtk2.cpp b/src/qt5_in_gtk2.cpp
index a03e8a7..f0e324a 100644
--- a/src/qt5_in_gtk2.cpp
+++ b/src/qt5_in_gtk2.cpp
@@ -104,7 +104,7 @@ suil_qt_wrapper_realize(GtkWidget* w, gpointer data)
{
SuilQtWrapper* const wrap = SUIL_QT_WRAPPER(w);
GtkSocket* const s = GTK_SOCKET(w);
- const WId id = (const WId)gtk_socket_get_id(s);
+ const WId id = (WId)gtk_socket_get_id(s);
wrap->qembed->winId();
wrap->qembed->windowHandle()->setParent(QWindow::fromWinId(id));