forked from qt-creator/qt-creator
Code polishing, continuing cb23999fbf
Add more error messages to processes run for toolchain detection. Move Windows-specific code to dbgwinutils, remove inclusion of <windows.h>. Fix MinGW gcc 4.5 warnings.
This commit is contained in:
@@ -514,20 +514,6 @@ public:
|
||||
TaskHub *m_taskHub;
|
||||
};
|
||||
|
||||
static QToolButton *createFilterButton(QIcon icon, const QString &toolTip,
|
||||
QObject *receiver, const char *slot)
|
||||
{
|
||||
QToolButton *button = new QToolButton;
|
||||
button->setIcon(icon);
|
||||
button->setToolTip(toolTip);
|
||||
button->setCheckable(true);
|
||||
button->setChecked(true);
|
||||
button->setAutoRaise(true);
|
||||
button->setEnabled(true);
|
||||
QObject::connect(button, SIGNAL(toggled(bool)), receiver, slot);
|
||||
return button;
|
||||
}
|
||||
|
||||
TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate)
|
||||
{
|
||||
d->m_defaultHandler = 0;
|
||||
|
||||
Reference in New Issue
Block a user