mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
use preset version numbers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4702b151f7
commit
6e7f37a5b0
2 changed files with 3 additions and 5 deletions
|
@ -103,9 +103,8 @@ void QFactoryLoader::updateDir(const QString &pluginDir)
|
|||
library->release();
|
||||
continue;
|
||||
}
|
||||
QString regkey = QString::fromLatin1("Katie Factory Cache %1.%2/%3:/%4")
|
||||
.arg((QT_VERSION & 0xff0000) >> 16)
|
||||
.arg((QT_VERSION & 0xff00) >> 8)
|
||||
QString regkey = QString::fromLatin1("Katie Factory Cache %1/%2:/%3")
|
||||
.arg(QT_VERSION_HEX_STR)
|
||||
.arg(QString::fromLatin1(d->iid.constData()))
|
||||
.arg(fileName);
|
||||
QStringList keys;
|
||||
|
|
|
@ -118,8 +118,7 @@ QString MainWindowBase::mainWindowTitle()
|
|||
// Use the minor Qt version as settings versions to avoid conflicts
|
||||
int MainWindowBase::settingsVersion()
|
||||
{
|
||||
const int version = QT_VERSION;
|
||||
return (version & 0x00FF00) >> 8;
|
||||
return QT_VERSION_MINOR;
|
||||
}
|
||||
|
||||
// ----------------- DockedMdiArea
|
||||
|
|
Loading…
Add table
Reference in a new issue