diff options
Diffstat (limited to 'src/fqterm')
-rw-r--r-- | src/fqterm/3rdparty/dotnetstyle.cpp | 8 | ||||
-rw-r--r-- | src/fqterm/fqterm_frame.cpp | 2 | ||||
-rw-r--r-- | src/fqterm/fqterm_window.cpp | 2 | ||||
-rw-r--r-- | src/fqterm/fqterm_wndmgr.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/fqterm/3rdparty/dotnetstyle.cpp b/src/fqterm/3rdparty/dotnetstyle.cpp index d016ff2..6d514a1 100644 --- a/src/fqterm/3rdparty/dotnetstyle.cpp +++ b/src/fqterm/3rdparty/dotnetstyle.cpp @@ -80,8 +80,8 @@ public: QColor shadowColor(const QStyleOption *option) const; QBrush highlightBrush(const QStyleOption *option, bool act) const; QBrush highlightMenuCheckBrush(const QStyleOption *option, bool act) const; - QLinearGradient toolbarGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientaion) const; - QLinearGradient menuGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientaion) const; + QLinearGradient toolbarGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientation) const; + QLinearGradient menuGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientation) const; void updatePalette(); QColor menuSeparatorColor; @@ -274,11 +274,11 @@ QLinearGradient DotNetStylePrivate::toolbarGradient(const QStyleOption *option, } -QLinearGradient DotNetStylePrivate::menuGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientaion = Qt::Horizontal) const { +QLinearGradient DotNetStylePrivate::menuGradient(const QStyleOption *option, QRect rect, Qt::Orientation orientation = Qt::Horizontal) const { QColor start, stop; QLinearGradient grad; - if (orientaion == Qt::Vertical) { + if (orientation == Qt::Vertical) { grad.setStart(rect.left(), rect.top()); grad.setFinalStop(rect.left(), rect.bottom()); } else { diff --git a/src/fqterm/fqterm_frame.cpp b/src/fqterm/fqterm_frame.cpp index dfeaa86..95227c4 100644 --- a/src/fqterm/fqterm_frame.cpp +++ b/src/fqterm/fqterm_frame.cpp @@ -638,7 +638,7 @@ void FQTermFrame::connectMenuActivated() { FQTermParam param; - // FIXME: don't know the relation with id and param setted by setItemParameter + // FIXME: don't know the relation with id and param set by setItemParameter if (loadAddress(pConf, id, param)) { newWindow(param, id); } diff --git a/src/fqterm/fqterm_window.cpp b/src/fqterm/fqterm_window.cpp index 85e3aef..8604c9e 100644 --- a/src/fqterm/fqterm_window.cpp +++ b/src/fqterm/fqterm_window.cpp @@ -403,7 +403,7 @@ bool FQTermWindow::event(QEvent *qevent) { if (keyEvent->key() == Qt::Key_Tab || keyEvent->key() == Qt::Key_Backtab) { // Key_Tab and Key_Backtab are special, if we don't process them here, - // the default behavoir is to move focus. see QWidget::event. + // the default behavior is to move focus. see QWidget::event. keyPressEvent(keyEvent); keyEvent->accept(); res = true; diff --git a/src/fqterm/fqterm_wndmgr.cpp b/src/fqterm/fqterm_wndmgr.cpp index 0e90b1c..9cd6847 100644 --- a/src/fqterm/fqterm_wndmgr.cpp +++ b/src/fqterm/fqterm_wndmgr.cpp @@ -207,7 +207,7 @@ FQTermWindow* FQTermWndMgr::newWindow( const FQTermParam ¶m, FQTermConfig* c if (count() == 1) { termFrame_->enableMenuToolBar(true); } - //if no this call, the tab wont display untill you resize the window + //if no this call, the tab won't display until you resize the window int idx = tabBar_->addTab(*icon, window->windowTitle()); tabBar_->updateGeometry(); tabBar_->update(); |