projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MainBar: fixup file extension filter in "Import File" dialog
[pulseview.git]
/
pv
/
prop
/
string.cpp
diff --git
a/pv/prop/string.cpp
b/pv/prop/string.cpp
index e7af45973cc92950aef95c8c4ba50d0357b8132b..96a83422e0a3e2a026336845ac20c72c876e7d35 100644
(file)
--- a/
pv/prop/string.cpp
+++ b/
pv/prop/string.cpp
@@
-14,11
+14,10
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
*/
-#include <
assert.h
>
+#include <
cassert
>
#include <QLineEdit>
#include <QSpinBox>
#include <QLineEdit>
#include <QSpinBox>
@@
-33,9
+32,10
@@
namespace pv {
namespace prop {
String::String(QString name,
namespace prop {
String::String(QString name,
+ QString desc,
Getter getter,
Setter setter) :
Getter getter,
Setter setter) :
- Property(name, getter, setter),
+ Property(name,
desc,
getter, setter),
line_edit_(nullptr)
{
}
line_edit_(nullptr)
{
}
@@
-81,5
+81,5
@@
void String::on_text_edited(const QString&)
commit();
}
commit();
}
-}
//
prop
-}
//
pv
+}
// namespace
prop
+}
// namespace
pv