Skip to content

Commit

Permalink
main.cpp: add loadTranslator
Browse files Browse the repository at this point in the history
  • Loading branch information
“rekols” committed Jul 19, 2017
1 parent 9258f69 commit a7dd8e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ int main(int argc, char *argv[])

if (app.setSingleInstance("rekols-calculator")) {
app.setApplicationVersion("0.1");

app.setProductIcon(QPixmap::fromImage(QImage(":/image/icon.svg").scaled(80, 80)));
app.setApplicationDescription(DApplication::translate("MainWindow", descriptionText) + "\n");
app.setApplicationAcknowledgementPage(acknowledgementLink);

app.setWindowIcon(QIcon(":/image/icon.svg"));
app.loadTranslator();

MainWindow w;
w.show();
Expand Down

0 comments on commit a7dd8e3

Please sign in to comment.