mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 05:41:24 -05:00
Removed limit on opacity setting with recent windows versions on BandwidthGraphDialog
Conflicts: retroshare-gui/src/gui/statistics/BandwidthGraphWindow.cpp
This commit is contained in:
parent
acc3e4bb62
commit
bd3f7f6d38
@ -79,7 +79,7 @@ BandwidthGraph::BandwidthGraph(QWidget *parent, Qt::WindowFlags flags)
|
||||
|
||||
/* Turn off opacity group on unsupported platforms */
|
||||
#if defined(Q_OS_WIN)
|
||||
if(!(QSysInfo::WV_2000 <= QSysInfo::WindowsVersion && QSysInfo::WindowsVersion <= QSysInfo::WV_2003)) {
|
||||
if(!(QSysInfo::WV_2000 <= QSysInfo::WindowsVersion)) {
|
||||
ui.frmOpacity->setVisible(false);
|
||||
}
|
||||
#endif
|
||||
@ -240,7 +240,7 @@ void BandwidthGraph::setOpacity(int value)
|
||||
this->setWindowOpacity(newValue);
|
||||
ui.lblPercentOpacity->setText(QString::number(value));
|
||||
#elif defined(Q_OS_WIN)
|
||||
if(QSysInfo::WV_2000 <= QSysInfo::WindowsVersion && QSysInfo::WindowsVersion <= QSysInfo::WV_2003) {
|
||||
if(QSysInfo::WV_2000 <= QSysInfo::WindowsVersion) {
|
||||
this->setWindowOpacity(newValue);
|
||||
ui.lblPercentOpacity->setText(QString::number(value));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user