mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Suppress Qt 5.15 deprecation warnings
This commit is contained in:
@@ -388,7 +388,7 @@ namespace BlackGui
|
||||
void CHotkeyDialog::selectAction()
|
||||
{
|
||||
if (m_actionHotkey.getAction().isEmpty()) { return; }
|
||||
const QStringList tokens = m_actionHotkey.getAction().split("/", QString::SkipEmptyParts);
|
||||
const QStringList tokens = m_actionHotkey.getAction().split("/", Qt::SkipEmptyParts);
|
||||
QModelIndex parentIndex = QModelIndex();
|
||||
|
||||
for (const QString &token : tokens)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="features">
|
||||
<set>QDockWidget::AllDockWidgetFeatures</set>
|
||||
<set>QDockWidget::DockWidgetClosable|QDockWidget::DockWidgetMovable|QDockWidget::DockWidgetFloatable</set>
|
||||
</property>
|
||||
<property name="allowedAreas">
|
||||
<set>Qt::NoDockWidgetArea</set>
|
||||
@@ -96,7 +96,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="features">
|
||||
<set>QDockWidget::AllDockWidgetFeatures</set>
|
||||
<set>QDockWidget::DockWidgetClosable|QDockWidget::DockWidgetMovable|QDockWidget::DockWidgetFloatable</set>
|
||||
</property>
|
||||
<property name="allowedAreas">
|
||||
<set>Qt::NoDockWidgetArea</set>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<item row="0" column="1" colspan="7">
|
||||
<widget class="QFontComboBox" name="cb_SettingsGuiFont">
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
|
||||
<enum>QComboBox::AdjustToContents</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user