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();
|
library->release();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
QString regkey = QString::fromLatin1("Katie Factory Cache %1.%2/%3:/%4")
|
QString regkey = QString::fromLatin1("Katie Factory Cache %1/%2:/%3")
|
||||||
.arg((QT_VERSION & 0xff0000) >> 16)
|
.arg(QT_VERSION_HEX_STR)
|
||||||
.arg((QT_VERSION & 0xff00) >> 8)
|
|
||||||
.arg(QString::fromLatin1(d->iid.constData()))
|
.arg(QString::fromLatin1(d->iid.constData()))
|
||||||
.arg(fileName);
|
.arg(fileName);
|
||||||
QStringList keys;
|
QStringList keys;
|
||||||
|
|
|
@ -118,8 +118,7 @@ QString MainWindowBase::mainWindowTitle()
|
||||||
// Use the minor Qt version as settings versions to avoid conflicts
|
// Use the minor Qt version as settings versions to avoid conflicts
|
||||||
int MainWindowBase::settingsVersion()
|
int MainWindowBase::settingsVersion()
|
||||||
{
|
{
|
||||||
const int version = QT_VERSION;
|
return QT_VERSION_MINOR;
|
||||||
return (version & 0x00FF00) >> 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------- DockedMdiArea
|
// ----------------- DockedMdiArea
|
||||||
|
|
Loading…
Add table
Reference in a new issue