mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
Coding style + changed line endings of copyright
This commit is contained in:
parent
f0f2620a78
commit
63b5a059c9
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2013 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -348,10 +348,10 @@ void WebTab::pinTab(int index)
|
||||
}
|
||||
else { // Pin tab
|
||||
m_pinned = true;
|
||||
tabWidget->setCurrentIndex(0); // <<-- those 2 lines fixes
|
||||
tabWidget->getTabBar()->moveTab(index, 0); // | weird behavior with bad
|
||||
tabWidget->setTabText(0, QString()); // | tabwidget update if we
|
||||
tabWidget->setCurrentIndex(0); // <<-- are moving current tab
|
||||
tabWidget->setCurrentIndex(0); // <<-- those 2 lines fixes
|
||||
tabWidget->getTabBar()->moveTab(index, 0); // | weird behavior with bad
|
||||
tabWidget->setTabText(0, QString()); // | tabwidget update if we
|
||||
tabWidget->setCurrentIndex(0); // <<-- are moving current tab
|
||||
tabWidget->getTabBar()->updatePinnedTabCloseButton(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user