diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-03-04 15:43:33 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-03-05 20:17:29 +0000 |
commit | 8664de017f4c715aa088b27f09a87820cdaf13ed (patch) | |
tree | 2b709dea6585c96c86aed132dcc9766cd1598995 /ui/qt/byte_view_tab.cpp | |
parent | 89270fbe0fd70fda8d27dc3195c00a92a48d675d (diff) | |
download | wireshark-8664de017f4c715aa088b27f09a87820cdaf13ed.tar.gz |
Qt: Constify a bunch of strings.
Change-Id: I601e429408fc042fc5b18a4750d40e260da47f43
Reviewed-on: https://code.wireshark.org/review/7535
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/byte_view_tab.cpp')
-rw-r--r-- | ui/qt/byte_view_tab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/byte_view_tab.cpp b/ui/qt/byte_view_tab.cpp index 3b2c138cfd..c7ba1a9f7a 100644 --- a/ui/qt/byte_view_tab.cpp +++ b/ui/qt/byte_view_tab.cpp @@ -43,7 +43,7 @@ void ByteViewTab::addTab(const char *name, tvbuff_t *tvb, proto_tree *tree, QTre byte_view_text->setAccessibleName(name); byte_view_text->setMonospaceFont(mono_font_); connect(this, SIGNAL(monospaceFontChanged(QFont)), byte_view_text, SLOT(setMonospaceFont(QFont))); - connect(byte_view_text, SIGNAL(byteFieldHovered(QString&)), this, SIGNAL(byteFieldHovered(QString&))); + connect(byte_view_text, SIGNAL(byteFieldHovered(const QString&)), this, SIGNAL(byteFieldHovered(const QString&))); QTabWidget::addTab(byte_view_text, name); } |