Commit de8444c3 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Pass the QColor directly

parent 04484fd1
......@@ -45,7 +45,7 @@ DetachableTabBar::DetachableTabBar(QWidget *parent) :
void DetachableTabBar::setColor(int idx, const QColor &color)
{
setTabData(idx, QColor(color));
setTabData(idx, color);
}
void DetachableTabBar::removeColor(int idx)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment