mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Removed getTranslations from SettingsManager
This commit is contained in:
parent
4f2334ecbf
commit
b5a458a1ab
@ -75,16 +75,6 @@ bool SettingsManager::setDownloadDir(QString downloadDir)
|
||||
return true;
|
||||
}
|
||||
|
||||
QStringList SettingsManager::getTranslations(const QStringList &keys)
|
||||
{
|
||||
QStringList translations;
|
||||
|
||||
for(auto& key: keys) {
|
||||
translations.append(KiwixApp::instance()->getText(key));
|
||||
}
|
||||
return translations;
|
||||
}
|
||||
|
||||
void SettingsManager::initSettings()
|
||||
{
|
||||
m_kiwixServerPort = m_settings.value("localKiwixServer/port", 8181).toInt();
|
||||
|
@ -24,7 +24,6 @@ public:
|
||||
qreal getZoomFactorByZimId(const QString &id);
|
||||
|
||||
public slots:
|
||||
QStringList getTranslations(const QStringList &keys);
|
||||
void setKiwixServerPort(int port);
|
||||
int getKiwixServerPort() { return m_kiwixServerPort; };
|
||||
void setZoomFactor(qreal zoomFactor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user