2009-12-16 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbqt/hbqt_hbqmainwindow.cpp
    * Minor formatting after latest changes.
This commit is contained in:
Viktor Szakats
2009-12-16 01:10:59 +00:00
parent 036644d8be
commit 782ae37170
2 changed files with 27 additions and 23 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-12-16 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqmainwindow.cpp
* Minor formatting after latest changes.
2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddmy/mysqldd.c
! Fixed warning reported by linux/watcom.

View File

@@ -329,29 +329,6 @@ void HBQMainWindow::closeEvent( QCloseEvent * event )
#endif
}
static void hbqt_hbqmainwindow_init( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
#if defined( _HBQT_MAINWINDOW_MUTEX )
if( s_mutex == NULL )
s_mutex = hb_threadMutexCreate();
#endif
}
static void hbqt_hbqmainwindow_exit( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
#if defined( _HBQT_MAINWINDOW_MUTEX )
if( s_mutex != NULL )
{
hb_itemRelease( s_mutex );
s_mutex = NULL;
}
#endif
}
typedef struct
{
void * ph;
@@ -424,6 +401,29 @@ HB_FUNC( QT_HBQMAINWINDOW )
HB_FUNC( HB_QT ) {;}
static void hbqt_hbqmainwindow_init( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
#if defined( _HBQT_MAINWINDOW_MUTEX )
if( s_mutex == NULL )
s_mutex = hb_threadMutexCreate();
#endif
}
static void hbqt_hbqmainwindow_exit( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
#if defined( _HBQT_MAINWINDOW_MUTEX )
if( s_mutex != NULL )
{
hb_itemRelease( s_mutex );
s_mutex = NULL;
}
#endif
}
HB_CALL_ON_STARTUP_BEGIN( _hbqt_hbqmainwindow_initialize_ )
hb_vmAtInit( hbqt_hbqmainwindow_init, NULL );
hb_vmAtExit( hbqt_hbqmainwindow_exit, NULL );