Tidy up use of mac_psn.
This commit is contained in:
parent
b0c880d444
commit
0da6a4f1ca
|
@ -25,8 +25,8 @@
|
|||
|
||||
GlobalSearchPopup::GlobalSearchPopup(QWidget* parent)
|
||||
: QWidget(parent),
|
||||
mac_psn_(NULL),
|
||||
ui_(new Ui_GlobalSearchPopup) {
|
||||
ui_(new Ui_GlobalSearchPopup),
|
||||
mac_psn_(NULL) {
|
||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
|
||||
setWindowFlags(flags);
|
||||
|
||||
|
|
|
@ -48,14 +48,13 @@ class GlobalSearchPopup : public QWidget {
|
|||
void StorePreviousProcess();
|
||||
void ActivatePreviousProcess();
|
||||
|
||||
ProcessSerialNumber* mac_psn_;
|
||||
|
||||
signals:
|
||||
void AddToPlaylist(QMimeData*);
|
||||
void Closed();
|
||||
|
||||
private:
|
||||
boost::scoped_ptr<Ui_GlobalSearchPopup> ui_;
|
||||
ProcessSerialNumber* mac_psn_;
|
||||
};
|
||||
|
||||
#endif // GLOBALSEARCHPOPUP_H
|
||||
|
|
Loading…
Reference in New Issue