Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
3c58003a
Commit
3c58003a
authored
Mar 22, 2016
by
Gavin Bisesi
Browse files
Merge pull request #1880 from leematos/patch-1
Remove "Ghost" Toolbar
parents
535e19f8
9f3b5008
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_deck_editor.cpp
View file @
3c58003a
...
...
@@ -114,32 +114,10 @@ void TabDeckEditor::createDeckDock()
grid
->
addWidget
(
hashLabel1
,
2
,
0
);
grid
->
addWidget
(
hashLabel
,
2
,
1
);
/* Update price
aUpdatePrices = new QAction(QString(), this);
aUpdatePrices->setIcon(QPixmap("theme:icons/update"));
connect(aUpdatePrices, SIGNAL(triggered()), this, SLOT(actUpdatePrices()));
if (!settingsCache->getPriceTagFeature())
aUpdatePrices->setVisible(false);
connect(settingsCache, SIGNAL(priceTagFeatureChanged(int)), this, SLOT(setPriceTagFeatureEnabled(int)));
*/
QToolBar
*
deckToolBar
=
new
QToolBar
;
deckToolBar
->
setObjectName
(
"deckToolBar"
);
deckToolBar
->
setOrientation
(
Qt
::
Vertical
);
deckToolBar
->
setToolButtonStyle
(
Qt
::
ToolButtonTextBesideIcon
);
deckToolBar
->
setIconSize
(
QSize
(
24
,
24
));
//deckToolBar->addAction(aUpdatePrices);
QHBoxLayout
*
deckToolbarLayout
=
new
QHBoxLayout
;
deckToolbarLayout
->
setObjectName
(
"deckToolbarLayout"
);
deckToolbarLayout
->
addStretch
();
deckToolbarLayout
->
addWidget
(
deckToolBar
);
deckToolbarLayout
->
addStretch
();
QVBoxLayout
*
rightFrame
=
new
QVBoxLayout
;
rightFrame
->
setObjectName
(
"rightFrame"
);
rightFrame
->
addLayout
(
grid
);
rightFrame
->
addWidget
(
deckView
,
10
);
rightFrame
->
addLayout
(
deckToolbarLayout
);
deckDock
=
new
QDockWidget
(
this
);
deckDock
->
setObjectName
(
"deckDock"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment