diff --git a/src/navigation/locationpopup.cpp b/src/navigation/locationpopup.cpp index 73f0c9bc4..3814fed49 100644 --- a/src/navigation/locationpopup.cpp +++ b/src/navigation/locationpopup.cpp @@ -16,13 +16,12 @@ * along with this program. If not, see . * ============================================================ */ #include "locationpopup.h" -#if 0 LocationPopup::LocationPopup(QWidget *parent) :QAbstractItemView() ,m_parent(parent) { setWindowFlags(Qt::Popup); -}r +} void LocationPopup::show() { @@ -32,6 +31,7 @@ void LocationPopup::show() QAbstractItemView::show(); } +#if 0 QRect LocationPopup::visualRect(const QModelIndex &index) const { diff --git a/src/navigation/locationpopup.h b/src/navigation/locationpopup.h index 3f044e318..62d4671ad 100644 --- a/src/navigation/locationpopup.h +++ b/src/navigation/locationpopup.h @@ -17,7 +17,7 @@ * ============================================================ */ #ifndef LOCATIONPOPUP_H #define LOCATIONPOPUP_H -#if 0 + #include #include @@ -32,6 +32,7 @@ signals: public slots: void show(); private: +#if 0 QRect visualRect(const QModelIndex &index) const; void scrollTo(const QModelIndex &index, ScrollHint hint); QModelIndex indexAt(const QPoint &point) const; @@ -41,9 +42,8 @@ private: bool isIndexHidden(const QModelIndex &index) const; void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); QRegion visualRegionForSelection(const QItemSelection &selection) const; - +#endif QWidget* m_parent; }; #endif // LOCATIONPOPUP_H -#endif