From 00a73f1dea1194890a6db0bd00ec2759e9ff5bc5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Feb 2024 14:21:50 +0900 Subject: [PATCH] Replace Qt with TQt Signed-off-by: Michele Calgaro --- TODO | 4 ++-- doc/man/codeine.1 | 2 +- src/app/captureFrame.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index a8d427d..ced1956 100644 --- a/TODO +++ b/TODO @@ -8,7 +8,7 @@ Playback finished message (amaroK statusbar code?) Mouse move to show toolbar in fullscreen mode People are likely to use "F" keyboard shortcut or escape after film ends in fullscreen mode - but the popup of the menu prevents this, as for some reason Qt stops handling keyboard + but the popup of the menu prevents this, as for some reason TQt stops handling keyboard shortcuts. We need a solution. The escape issue makes the popup menu less useful. So escape with the menu should exit fullscreen too. All shortcuts in the menu should work. Shortcuts not in the menu shouldn't work as this is a modal menu! Could be dangerous. @@ -35,4 +35,4 @@ ACTION xine config dialog is modal REACTION - none, at least yet, it is far easier to maintain modal dialogs \ No newline at end of file + none, at least yet, it is far easier to maintain modal dialogs diff --git a/doc/man/codeine.1 b/doc/man/codeine.1 index dac7494..bcb0e6a 100644 --- a/doc/man/codeine.1 +++ b/doc/man/codeine.1 @@ -49,7 +49,7 @@ application-specific options. \*(T<\fB\-\-help\fR\*(T> Show help about options .TP -\*(T<\fB\-\-help\-qt\fR\*(T> +\*(T<\fB\-\-help\-tqt\fR\*(T> Show TQt specific options .TP \*(T<\fB\-\-help\-tde\fR\*(T> diff --git a/src/app/captureFrame.cpp b/src/app/captureFrame.cpp index 0b7e8c8..920e18a 100644 --- a/src/app/captureFrame.cpp +++ b/src/app/captureFrame.cpp @@ -178,7 +178,7 @@ yv12ToRgb( uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, const int w, const in const int uv_width = w / 2; const int uv_height = h / 2; - uchar * const rgb = new uchar[(w * h * 4)]; //qt needs a 32bit align + uchar * const rgb = new uchar[(w * h * 4)]; //tqt needs a 32bit align if( !rgb ) return 0;