#include <algorithm>
+#include <assert.h>
+
#include <QtGui>
#include "popup.h"
setMask(popup_region());
}
-void Popup::showEvent(QShowEvent*)
-{
- reposition_widget();
-}
-
void Popup::mouseReleaseEvent(QMouseEvent *e)
{
assert(e);
close();
}
+void Popup::showEvent(QShowEvent*)
+{
+ reposition_widget();
+}
+
} // namespace widgets
} // namespace pv