Commit df156a56c08a56eb380711a507ef739d8150a71f replaced "virtual" by "override" where appropriate. Unfortunately, this had the unintended consequence of producing numerous clang warnings. If clang finds a override-modified function in a class definition, it warns for *all* overriden virtual functions without the override modifier. To solve this, go the easy route and remove all overrides. At least it is consistent. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
27 lines
527 B
C++
27 lines
527 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef PREFERENCES_LANGUAGE_H
|
|
#define PREFERENCES_LANGUAGE_H
|
|
|
|
#include <QMap>
|
|
#include "abstractpreferenceswidget.h"
|
|
|
|
namespace Ui {
|
|
class PreferencesLanguage;
|
|
}
|
|
|
|
class PreferencesLanguage : public AbstractPreferencesWidget {
|
|
Q_OBJECT
|
|
public:
|
|
PreferencesLanguage();
|
|
~PreferencesLanguage();
|
|
void refreshSettings();
|
|
void syncSettings();
|
|
private:
|
|
Ui::PreferencesLanguage *ui;
|
|
QMap<QString, QString> dateFormatShortMap;
|
|
public slots:
|
|
void dateFormatChanged(const QString&);
|
|
};
|
|
|
|
#endif
|