summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmenu
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-04-17 15:33:50 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-04-17 15:34:18 (GMT)
commit3e4a8153da6c05e11d8bb26f15b7ab4806e0902b (patch)
treebc628106adf7a5d61c4a8109c739618d065b41cd /tests/auto/qmenu
parenta1749882051801d95ca562292c0bd1e43a70cdc1 (diff)
downloadQt-3e4a8153da6c05e11d8bb26f15b7ab4806e0902b.zip
Qt-3e4a8153da6c05e11d8bb26f15b7ab4806e0902b.tar.gz
Qt-3e4a8153da6c05e11d8bb26f15b7ab4806e0902b.tar.bz2
autotest didn't compile with gcc
Diffstat (limited to 'tests/auto/qmenu')
-rw-r--r--tests/auto/qmenu/tst_qmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmenu/tst_qmenu.cpp b/tests/auto/qmenu/tst_qmenu.cpp
index a86b754..5b6e54c 100644
--- a/tests/auto/qmenu/tst_qmenu.cpp
+++ b/tests/auto/qmenu/tst_qmenu.cpp
@@ -684,7 +684,7 @@ void tst_QMenu::task250673_activeMutliColumnSubMenuPosition()
class MyMenu : public QMenu
{
public:
- friend class tst_QMenu;
+ int columnCount() const { return QMenu::columnCount(); }
};
QMenu sub;