Fix minor typos

wilder-portage
Yuri Chornoivan 8 years ago
parent 209d43f986
commit 933b86d4fd
  1. 2
      src/DetachableTabBar.cpp
  2. 6
      src/TerminalDisplay.cpp
  3. 2
      src/main.cpp

@ -97,7 +97,7 @@ void DetachableTabBar::mouseReleaseEvent(QMouseEvent *event)
if (count() != 1)
emit detachTab(currentIndex());
} else if (window() != widgetAtPos->window()) {
// splits have a tendency to break, forbid to detach if splitted and it's the last tab.
// splits have a tendency to break, forbid to detach if split and it's the last tab.
if (_containers.size() == 1 || count() > 1)
emit moveTabToWindow(currentIndex(), widgetAtPos);
} else if (droppedContainerIsNotThis(event->globalPos())){

@ -1262,7 +1262,7 @@ void TerminalDisplay::updateImage()
// optimization - scroll the existing image where possible and
// avoid expensive text drawing for parts of the image that
// can simply be moved up or down
// disable this shortcut for transparent konsole with scaled pixels, otherwise we get rendering artefacts, see BUG 350651
// disable this shortcut for transparent konsole with scaled pixels, otherwise we get rendering artifacts, see BUG 350651
if (!(WindowSystemInfo::HAVE_TRANSPARENCY && (qApp->devicePixelRatio() > 1.0)) && _wallpaper->isNull() && !_searchBar->isVisible()) {
scrollImage(_screenWindow->scrollCount() ,
_screenWindow->scrollRegion());
@ -2926,7 +2926,7 @@ void TerminalDisplay::viewScrolledByUser()
}
/* Moving left/up from the line containing pnt, return the starting
offset point which the given line is continiously wrapped
offset point which the given line is continuously wrapped
(top left corner = 0,0; previous line not visible = 0,-1).
*/
QPoint TerminalDisplay::findLineStart(const QPoint &pnt)
@ -2960,7 +2960,7 @@ QPoint TerminalDisplay::findLineStart(const QPoint &pnt)
}
/* Moving right/down from the line containing pnt, return the ending
offset point which the given line is continiously wrapped.
offset point which the given line is continuously wrapped.
*/
QPoint TerminalDisplay::findLineEnd(const QPoint &pnt)
{

@ -194,7 +194,7 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[])
} else {
// Do not finish starting Konsole due to:
// 1. An argument was given to just printed info
// 2. An invalid situation ocurred
// 2. An invalid situation occurred
const bool continueStarting = (konsoleApp.newInstance() != 0);
if (!continueStarting) {
delete app;

Loading…
Cancel
Save