mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
NOISSUE fix a bunch of warnings thrown by Qt internals
Badly connected signals/slots and similar things.
This commit is contained in:
parent
ef2cbe16e6
commit
f18afd3d1e
8 changed files with 27 additions and 20 deletions
|
|
@ -9,7 +9,7 @@ SystemTheme::SystemTheme()
|
|||
const auto & style = QApplication::style();
|
||||
systemPalette = style->standardPalette();
|
||||
QString lowerThemeName = style->objectName();
|
||||
qWarning() << systemTheme;
|
||||
qDebug() << systemTheme;
|
||||
QStringList styles = QStyleFactory::keys();
|
||||
for(auto &st: styles)
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@ SystemTheme::SystemTheme()
|
|||
}
|
||||
// fall back to fusion if we can't find the current theme.
|
||||
systemTheme = "Fusion";
|
||||
qWarning() << "System theme not found, defaulted to Fusion";
|
||||
qDebug() << "System theme not found, defaulted to Fusion";
|
||||
}
|
||||
|
||||
void SystemTheme::apply(bool initial)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue