qt - QWidget::showMinimized() doesn't work -
on ubuntu 13.04, if using qwidget::showminimized()
minimize window, found after restoring clicking app icon system taskbar, recalling qwidget::showminimized()
cannot work.
connect(minimumbtn,signal(clicked()),this,slot(minimumwin())); minimumwin(){ showminimized(); }
showminimized()
in minimumwin()
doesn't work anymore if has been called before (even window showed).
i can reproduce linux mint , qt 5.1. bug in qt. found if call shownormal()
right after showminimized()
, window minimizes , after restored taskbar, possible minimize window again. example:
void mainwindow::on_pushbutton_clicked() { showminimized(); shownormal(); }
Comments
Post a Comment