mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Remove some code not in a class or in a function (Q_OS_WIN)
This commit is contained in:
@@ -1439,23 +1439,6 @@ void QETApp::invertMainWindowVisibility(QWidget *window) {
|
||||
setMainWindowVisible(w, !w -> isVisible());
|
||||
}
|
||||
|
||||
/**
|
||||
Autodetec Windows style
|
||||
@param Windows style
|
||||
*/
|
||||
#if defined(Q_OS_WIN) && defined(Q_OS_WINCE)
|
||||
|
||||
if defined(Q_OS_WIN)
|
||||
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
|
||||
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
||||
style = QLatin1String("WindowsVista");
|
||||
else if ((QSysInfo::WindowsVersion >= QSysInfo::WV_XP
|
||||
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
||||
style = QLatin1String("WindowsXP");
|
||||
else
|
||||
style = QLatin1String("Windows");// default styles for Windows
|
||||
#endif
|
||||
|
||||
/**
|
||||
@brief QETApp::useSystemPalette
|
||||
Change the application palette
|
||||
|
||||
Reference in New Issue
Block a user