mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Automatic styling screwup fix
This commit is contained in:
parent
beca87fe19
commit
5d057f9107
@ -160,7 +160,7 @@ Preferences::Preferences(QupZilla* mainClass, QWidget* parent)
|
||||
ui->startProfile->addItem(actProfileName);
|
||||
QDir profilesDir(mApp->PROFILEDIR + "profiles/");
|
||||
QStringList list_ = profilesDir.entryList(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||
foreach(const QString & name, list_) {
|
||||
foreach(const QString &name, list_) {
|
||||
if (actProfileName == name) {
|
||||
continue;
|
||||
}
|
||||
@ -346,7 +346,7 @@ Preferences::Preferences(QupZilla* mainClass, QWidget* parent)
|
||||
|
||||
QDir lanDir(mApp->TRANSLATIONSDIR);
|
||||
QStringList list = lanDir.entryList(QStringList("*.qm"));
|
||||
foreach(const QString & name, list) {
|
||||
foreach(const QString &name, list) {
|
||||
if (name.startsWith("qt_") || name == activeLanguage) {
|
||||
continue;
|
||||
}
|
||||
|
@ -520,7 +520,7 @@ void WebView::createContextMenu(QMenu* menu, const QWebHitTestResult &hitTest, c
|
||||
QMenu* pageMenu = page()->createStandardContextMenu();
|
||||
|
||||
int i = 0;
|
||||
foreach(QAction * act, pageMenu->actions()) {
|
||||
foreach(QAction* act, pageMenu->actions()) {
|
||||
if (act->isSeparator()) {
|
||||
menu->addSeparator();
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user