Use absolute locations in translation files (#288)
They provide context when using Qt Liguist, as it shows the source code where it is being used. Also replaced QT (capital T) with Qt, as the latter is the correct name.
This commit is contained in:
@@ -312,7 +312,7 @@ QString CommandLineParser::value(const CommandOption &option) const {
|
||||
}
|
||||
|
||||
void CommandLineParser::printVersion() {
|
||||
out << "Flameshot " << qApp->applicationVersion() << "\nCompiled with QT "
|
||||
out << "Flameshot " << qApp->applicationVersion() << "\nCompiled with Qt "
|
||||
<< static_cast<QString>(QT_VERSION_STR) << "\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -72,8 +72,8 @@ private slots:
|
||||
private:
|
||||
Controller();
|
||||
|
||||
// replace QTimer::singleShot introduced in QT 5.4
|
||||
// the actual target QT version is QT 5.3
|
||||
// replace QTimer::singleShot introduced in Qt 5.4
|
||||
// the actual target Qt version is 5.3
|
||||
void doLater(int msec, QObject *receiver, lambda func);
|
||||
|
||||
QMap<uint, CaptureRequest> m_requestMap;
|
||||
|
||||
@@ -115,7 +115,7 @@ void InfoWindow::initLabels() {
|
||||
QLabel *versionTitleLabel = new QLabel(tr("<u><b>Version</b></u>"), this);
|
||||
versionTitleLabel->setAlignment(Qt::AlignHCenter);
|
||||
m_layout->addWidget(versionTitleLabel);
|
||||
QString versionMsg = "Flameshot " + QString(APP_VERSION) + "\nCompiled with QT "
|
||||
QString versionMsg = "Flameshot " + QString(APP_VERSION) + "\nCompiled with Qt "
|
||||
+ QT_VERSION_STR;
|
||||
QLabel *versionLabel = new QLabel(versionMsg, this);
|
||||
versionLabel->setAlignment(Qt::AlignHCenter);
|
||||
|
||||
Reference in New Issue
Block a user