Skip to content

Commit

Permalink
Fix: 2022-08-18
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Aug 18, 2022
1 parent 7693bac commit c3b561c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -z "$X_ERROR" ]; then

deploy_qt XOcalc

make_release
make_release XOcalc
make_clear
fi
fi
fi
7 changes: 2 additions & 5 deletions gui_source/guimainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ GuiMainWindow::GuiMainWindow(QWidget *pParent) :

g_xOptions.setName(X_OPTIONSFILE);

QList<XOptions::ID> listIDs;
g_xOptions.addID(XOptions::ID_VIEW_STYLE,"Fusion");
g_xOptions.addID(XOptions::ID_VIEW_STAYONTOP,false);

listIDs.append(XOptions::ID_VIEW_STYLE);
listIDs.append(XOptions::ID_VIEW_STAYONTOP);

g_xOptions.setValueIDs(listIDs);
g_xOptions.load();

adjustWindow();
Expand Down
5 changes: 1 addition & 4 deletions gui_source/main_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,8 @@ int main(int argc, char *argv[])

xOptions.setName(X_OPTIONSFILE);

QList<XOptions::ID> listIDs;
xOptions.addID(XOptions::ID_VIEW_STYLE,"Fusion");

listIDs.append(XOptions::ID_VIEW_STYLE);

xOptions.setValueIDs(listIDs);
xOptions.load();

XOptions::adjustApplicationView(X_APPLICATIONNAME,&xOptions);
Expand Down

0 comments on commit c3b561c

Please sign in to comment.