mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 13:34:44 -04:00
fixed compilation for Qt5.5 in OSX
This commit is contained in:
18
custom_widgets/yacreader_tool_bar_stretch.h
Normal file
18
custom_widgets/yacreader_tool_bar_stretch.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef YACREADER_TOOL_BAR_STRETCH_H
|
||||
#define YACREADER_TOOL_BAR_STRETCH_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
class QToolBarStretch : public QWidget
|
||||
{
|
||||
public:
|
||||
QToolBarStretch(QWidget * parent=0):QWidget(parent)
|
||||
{
|
||||
QHBoxLayout * l= new QHBoxLayout();
|
||||
l->addStretch();
|
||||
setLayout(l);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // YACREADER_TOOL_BAR_STRETCH_H
|
Reference in New Issue
Block a user