mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-27 22:22:36 +02:00
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'rdpanel/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
c978b45c4f
commit
36efa3e50a
@ -25002,3 +25002,5 @@
|
||||
* Cleaned up compiler warnings in 'rdlogmanager/'.
|
||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compiler warnings in 'rdmonitor/'.
|
||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compiler warnings in 'rdpanel/'.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Dedicated Cart Wall Utility for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2025 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -333,13 +333,11 @@ void MainWidget::resizeEvent(QResizeEvent *e)
|
||||
|
||||
void MainWidget::wheelEvent(QWheelEvent *e)
|
||||
{
|
||||
if(e->orientation()==Qt::Vertical) {
|
||||
if(e->delta()>0) {
|
||||
panel_panel->panelDown();
|
||||
}
|
||||
if(e->delta()<0) {
|
||||
panel_panel->panelUp();
|
||||
}
|
||||
if(e->angleDelta().y()>0) {
|
||||
panel_panel->panelDown();
|
||||
}
|
||||
if(e->angleDelta().y()<0) {
|
||||
panel_panel->panelUp();
|
||||
}
|
||||
e->accept();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user