Browse Source

Don't set QDockWidget::DockWidgetFloatable on errorListDock. (QDockWidget::DockWidgetFloatable without QDockWidget::DockWidgetMovable makes no sense, and the pane shouldn't be detachable in the first place.)

git-svn-id: file:///var/svn/tigccpp/trunk@1230 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 16 years ago
parent
commit
1762c196df
2 changed files with 2 additions and 1 deletions
  1. 1 0
      ktigcc/NEWS
  2. 1 1
      ktigcc/mainform.cpp

+ 1 - 0
ktigcc/NEWS

@@ -33,6 +33,7 @@ CVS HEAD (2007-10-19):
   qmake-qt4 PREFIX=/usr).
 * Fixed infinite loop when parsing user headers including each other for
   completion information.
+* Made the Errors and Warnings pane non-detachable.
 
 
 KTIGCC 1.06 (2006-11-25):

+ 1 - 1
ktigcc/mainform.cpp

@@ -1256,7 +1256,7 @@ MainForm::MainForm(QWidget* parent, const char* name, Qt::WindowFlags fl)
   findFunctionsButton->setMenu(findFunctionsPopup);
   errorListDock=new QDockWidget("Errors and Warnings",this);
   errorListDock->setFloating(false);
-  errorListDock->setFeatures(QDockWidget::DockWidgetClosable|QDockWidget::DockWidgetFloatable);
+  errorListDock->setFeatures(QDockWidget::DockWidgetClosable);
   errorListDock->setAllowedAreas(Qt::BottomDockWidgetArea);
   errorList=new ErrorList(errorListDock);
   errorListDock->setWidget(errorList);