qt6: nglcompression, widgets, dialog fixes: remove QTextCodec, QStringRef/splitRef, QDesktopWidget, use QMultiMap and Qt6 APIs; adjust QtConcurrent::run wrappers; replace endl with newline
This commit is contained in:
1 parent
17f1c61c9e
commit
f744a8c37a
328 files changed
+53567
-112
No files matched your search
@@ -166,9 +166,9 @@ namespace NGL
|
||||
QString defaultPw = QStringLiteral("ctc11de");
|
||||
if (!databaseUser.isEmpty())
|
||||
{
|
||||
const QVector<QStringRef> &sl = databaseUser.splitRef(QLatin1Char('_'));
|
||||
if (sl.size() > 1)
|
||||
defaultPw = sl.at(0).toString() + QStringLiteral("11de");
|
||||
const QStringList sl = databaseUser.split(QLatin1Char('_'));
|
||||
if (!sl.isEmpty())
|
||||
defaultPw = sl.at(0) + QStringLiteral("11de");
|
||||
}
|
||||
return m_settings->value(QLatin1String("db/passwd"), defaultPw).toString();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user