mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Disabling locationpopup for 0.9.6 release
This commit is contained in:
parent
7ca0e81184
commit
89240d4692
|
@ -16,13 +16,12 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
* ============================================================ */
|
||||
#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
|
||||
{
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* ============================================================ */
|
||||
#ifndef LOCATIONPOPUP_H
|
||||
#define LOCATIONPOPUP_H
|
||||
#if 0
|
||||
|
||||
#include <QAbstractItemView>
|
||||
#include <QDebug>
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user