[PATCH] Don't go to edit mode if the dive notes field didn't change.

Miika Turkia miika.turkia at gmail.com
Fri Jan 30 12:47:34 PST 2015


On Fri, Jan 30, 2015 at 10:40 PM, Gehad Elrobey <gehadelrobey at gmail.com>
wrote:

> The main-tab view is inconsistent as mentioned in #804, this patch fixes
> the notes view.
>

I get crashes when applying this patch. This occurs when I attempt to write
to the notes field or focus leaves it.

Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
209    ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
(gdb) bt
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
#1  0x00000000004ae01e in MainTab::on_notes_textChanged (this=0xb19450) at
../qt-ui/maintab.cpp:1167
#2  0x0000000000588299 in MainTab::qt_static_metacall (_o=0xb19450,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffffffcc50) at
.moc/moc_maintab.cpp:237
#3  0x0000000000588784 in MainTab::qt_metacall (this=0xb19450,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffffffcc50) at
.moc/moc_maintab.cpp:327
#4  0x00007ffff521636d in QMetaObject::activate(QObject*, int, int, void**)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150130/4ee8bb3e/attachment-0001.html>


More information about the subsurface mailing list