subsurface/qt-ui
Tomaz Canabrava 677e75fbe4 Process events just after starting the StateMachine
This is needed because of a braindead issue on the Qt event
loop:

http://stackoverflow.com/questions/10059721/qt-qstatemachine-sync-problems-initial-state-not-set-on-started-signali

For the "event 1" to be received, the machine must already be
in a state that react to that signal. Even it was a queued
connection, the slot would be queued but only after the signal
 was received, which it isn't since there is no connection
yet at that point.

To solve your problem, you can wait for the machine is in
"state A" before emitting the signal:

machine->start();
qApp->processEvents();

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-06 11:32:44 -08:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Process events just after starting the StateMachine 2014-02-06 11:32:44 -08:00
about.cpp Extends copyright years on About screen to include 2014 2014-01-25 16:38:13 -08:00
about.h Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07:00
about.ui Removed another unused text 2013-11-29 12:11:12 -08:00
completionmodels.cpp Populate divemaster completion model using CSV 2014-01-19 13:57:40 -08:00
completionmodels.h Added a custom widget for tagging dives 2013-11-02 03:37:31 +01:00
csvimportdialog.h Refactoring import to DiveLogImportDialog 2014-01-03 10:30:08 -08:00
divecomputermanagementdialog.cpp Don't check if pointer is valid before deleting it. 2013-12-24 07:24:11 -08:00
divecomputermanagementdialog.h Random white space cleanup 2013-10-15 04:37:31 -07:00
divecomputermanagementdialog.ui Add application icon to dialogs 2013-11-30 12:01:32 -08:00
divelistview.cpp Include images in profile 2014-02-06 11:29:23 -08:00
divelistview.h Include images in profile 2014-02-06 11:29:23 -08:00
divelogimportdialog.cpp C++ code to call parsing functions for manual CSV 2014-01-25 06:52:06 -08:00
divelogimportdialog.h Treat Sensus CSV import specially on GUI 2014-01-17 05:57:45 +07:00
divelogimportdialog.ui GUI for importing manually kept CSV logs 2014-01-25 06:52:05 -08:00
diveplanner.cpp Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
diveplanner.h Don't use QList if sizeof(item) > void*. 2013-12-24 07:24:11 -08:00
diveplanner.ui Add some limits to the GF's 2013-12-04 15:49:55 -08:00
downloadfromdivecomputer.cpp Detect errors while downloading from libdivecomputer 2014-01-27 12:47:40 -08:00
downloadfromdivecomputer.h Disable DC device node if it is not needed 2013-12-27 11:04:35 -08:00
downloadfromdivecomputer.ui Enable libdivecomputer log or dump from the UI 2013-12-24 16:26:00 -08:00
exif.cpp Include images in profile 2014-02-06 11:29:23 -08:00
exif.h Include images in profile 2014-02-06 11:29:23 -08:00
globe.cpp Fix some memory leaks. 2014-01-16 12:15:47 +07:00
globe.h Fixes Setting the dive-location via the map. 2013-12-02 09:44:55 -08:00
graphicsview-common.cpp Move the 'getSacColor' out of old profile and use it. 2014-01-27 13:00:29 -08:00
graphicsview-common.h Move the 'getSacColor' out of old profile and use it. 2014-01-27 13:00:29 -08:00
groupedlineedit.cpp Removed obsolete code. 2013-12-20 09:53:04 -08:00
groupedlineedit.h Make the include Qt5 compatible 2014-01-15 15:49:48 +07:00
kmessagewidget.cpp Added the Message and the Buttons on the Equipment Tab 2013-09-18 23:23:04 -03:00
kmessagewidget.h Random white space cleanup 2013-10-15 04:37:31 -07:00
maintab.cpp Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
maintab.h Expand tags approach to divemaster field 2014-01-19 13:57:40 -08:00
maintab.ui Expand tags approach to divemaster field 2014-01-19 13:57:40 -08:00
mainwindow.cpp Load options as soon as the progrm starts 2014-02-06 11:32:11 -08:00
mainwindow.h Save the old pref system when changing the new one 2014-02-06 11:31:44 -08:00
mainwindow.ui Create a toolbox on the left side of the new profile 2014-02-06 06:34:05 -08:00
modeldelegates.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
modeldelegates.h Fix some memory leaks. 2014-01-16 12:15:47 +07:00
models.cpp Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
models.h Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
preferences.cpp Move save of preferences to the preferences dialog. 2014-02-06 11:30:57 -08:00
preferences.h Create a toolbox on the left side of the new profile 2014-02-06 06:34:05 -08:00
preferences.ui Don't show tanks that aren't used during a dive 2014-01-11 22:02:35 +07:00
printdialog.cpp PrintDialog: reset the progress bar each time the dialog opens 2013-12-04 15:52:21 +02:00
printdialog.h PrintDialog: reset the progress bar each time the dialog opens 2013-12-04 15:52:21 +02:00
printlayout.cpp Fix some memory leaks. 2014-01-16 12:15:47 +07:00
printlayout.h Don't use QList if sizeof(item) > void*. 2013-12-24 07:24:11 -08:00
printoptions.cpp Print: adjustments to PrintDialog 2013-11-30 18:56:25 +02:00
printoptions.h Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07:00
printoptions.ui Remove more unused windowTitle properties 2013-11-29 11:02:15 -08:00
profilegraphics.cpp Include images in profile 2014-02-06 11:29:23 -08:00
profilegraphics.h Move the divetooltipitem to its own file. 2014-02-06 06:26:50 -08:00
renumber.ui Renumber dialog should default to start at 1 2013-12-07 06:49:52 -08:00
shiftimagetimes.ui Include images in profile 2014-02-06 11:29:23 -08:00
shifttimes.ui Add application icon to dialogs 2013-11-30 12:01:32 -08:00
simplewidgets.cpp Include images in profile 2014-02-06 11:29:23 -08:00
simplewidgets.h Include images in profile 2014-02-06 11:29:23 -08:00
starwidget.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
starwidget.h Added Keyboard Navigation for the Star Widget 2013-12-20 09:53:05 -08:00
subsurfacewebservices.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
subsurfacewebservices.h Get more descriptive error messages when uploading to divelogs.de 2013-12-20 09:53:05 -08:00
tableview.cpp Fix some memory leaks. 2014-01-16 12:15:47 +07:00
tableview.h Partially revert d72c69db7a and fix its errors 2013-11-13 11:58:47 +09:00
tableview.ui Remove more unused windowTitle properties 2013-11-29 11:02:15 -08:00
tagwidget.cpp Ignore mouse wheel events on tags widget 2014-01-19 13:56:06 -08:00
tagwidget.h Ignore mouse wheel events on tags widget 2014-01-19 13:56:06 -08:00
usermanual.cpp User manual: overlay search panel 2014-01-10 16:12:44 +07:00
usermanual.h User manual: overlay search panel 2014-01-10 16:12:44 +07:00
usermanual.ui User manual: overlay search panel 2014-01-10 16:12:44 +07:00
webservices.ui Improve the download from Subsurface webservice dialog 2014-01-15 15:33:04 +07:00