]> git.sur5r.net Git - minitube/commitdiff
QAction must be checkable
authorFlavio Tordini <flavio.tordini@gmail.com>
Fri, 14 Aug 2009 10:07:05 +0000 (12:07 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Fri, 14 Aug 2009 10:07:05 +0000 (12:07 +0200)
src/thlibrary/thblackbar.cpp

index d2bbc652cc42890a28cee0e130515e714506a4fc..05522ad1fbd227277b69cc8929db878ab0f10709 100644 (file)
@@ -43,6 +43,7 @@ QAction *THBlackBar::addAction (QAction *action) {
 
 QAction *THBlackBar::addAction (const QString& text) {
     QAction *action = new QAction(text, this);
+    action->setCheckable(true);
     d->actionList.append(action);
     return(action);
 }